C_Intl. ParseNumber
functionguessedavailable in: camelot
Parses an entire localized number string into a double using the selected non-currency number formatter.
function C_Intl.ParseNumber( text: string, style: NumberStyle): number?Parameters
| name | type | description |
|---|---|---|
text | string | The localized numeric text to parse with the selected style. |
style | NumberStyle | The number style to parse with; Currency is not accepted here, use ParseCurrency instead. |
Returns
result · number? · The numeric value parsed from the localized number text.
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Intl system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.