Skip to content

numbervalue

Locale-aware numeric parse.

v = numbervalue(text, decimal_sep, group_sep)

Like value but accepts custom decimal and thousands-group separators. Useful for parsing numbers in non-English locales ('.' and ',' swapped).

numbervalue('3.456,78', ',', '.') % 3456.78
  • value — Convert a text string to a number.