>wowhelm_
~/forever/addon-api/function/C_GameRules.GetGameRuleAsFloat

C_GameRules.GetGameRuleAsFloat

documented function · GameRules
C_GameRules.GetGameRuleAsFloat(gameRule, decimalPlaces) : value

Returns the numeric value specified in the Game Rule, multiplied by 0.1 for every decimal place requested

──ARGUMENTS
gameRule
GameRule
decimalPlaces
number, default 0
──RETURNS
value
number
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.