LSParseNumber
Last updated
Last updated
Converts a string to a number in the specified numeral system
Argument | Type | Required | Description | Default |
---|---|---|---|---|
number
string
true
The string to convert to a number.
locale
string
false
The locale to use when parsing the number. If not provided, the system or application-configured locale is used.
radix
string
false
The numeral system to use for conversion (e.g., "bin", "oct", "dec", "hex"). If not provided, the number is parsed as locale-sensitive