>wowhelm_
~/forever/addon-api/function/C_Intl.FormatNumber

C_Intl.FormatNumber

documented function · Intl
C_Intl.FormatNumber(number, style) : result

Formats a double with locale number formatting using locale symbols, grouping, and the selected non-currency style.

──ARGUMENTS
number
number (The double value formatted according to the selected number formatter.)
style
NumberStyle (The number style to format with; Currency is not accepted here, use FormatCurrency instead.)
──RETURNS
result
string (The localized number text produced by the formatter.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

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