number

FEEL built-in function · Conversion functions

number(from, grouping separator?, decimal separator?)

Parses a string into a number, optionally describing which grouping and decimal separators the string uses.

Parameters

ParameterTypeDescription
fromstringthe numeric string to parse
grouping separatorstringthousands separator used in the string (optional)
decimal separatorstringdecimal mark used in the string (optional)

Examples

number("1 000,5", " ", ",")
1000.5 Try it →
number("1250.75")
1250.75 Try it →

Related functions

string · decimal

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).