tryParseNumber

tryparsenumber(source: text, thousandSeparator: text, decimalSeparator: text) 🡒 (boolean, date), pure function

Returns a (boolean, number) tuple. The first argument is the value to be parsed. The second and third arguments are the number format. The returned Boolean flag is true if the value has been parsed. The returned number value is non-default only if the parsing succeeded.

See also