NUMBERVALUE

converts text to a number, locale-independent · from excel · excel: not yet compared · no sheets equivalent

signature

NUMBERVALUE(text, [decimal_separator], [group_separator])

returns: number

argumentrequired
text required
decimal_separator optional
group_separator optional

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

fx =NUMBERVALUE("2.5") 2.5

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#VALUE! =NUMBERVALUE("alpha")

related

  • ASC converts full-width characters to half-width
  • BAHTTEXT spells a number as thai baht and satang
  • CHAR returns the character for a character-set code
  • CLEAN removes non-printable characters
  • CODE numeric code of the first character
  • CONCAT joins multiple text strings into one