parse_number()
Usage
parse_number(string[, locale])
Description
Parses the given string into a numerical value. With the second (optional) parameter you can pass a locale string to take a country-/language specific number formatting into account.
Examples
${parse_number('123,456,789.123', 'en')}
${parse_number('123.456.789,123', 'de')}
results in
123456789.123
123456789.123