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
| Parameter | Type | Description |
|---|---|---|
| from | string | the numeric string to parse |
| grouping separator | string | thousands separator used in the string (optional) |
| decimal separator | string | decimal mark used in the string (optional) |
Examples
number("1 000,5", " ", ",")
1000.5
Try it →
number("1250.75")
1250.75
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).