Skip to content

value

Convert a text string to a number.

v = value(text)

Parses text as a numeric value. Recognizes integers, decimals, scientific notation, percentages, currency symbols, and date/time strings (returning the serial number form). Raises #VALUE! on unparseable input.

value('3.14') % 3.14
value('$1,234.56') % 1234.56
  • numbervalue — Locale-aware numeric parse.
  • text — Format a number as text using an Excel-style format.