Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

To float

Last modified: August 2, 2022

Converts a value of type Decimal to type Float.

toFloat

Converts the specified Decimal value to a value of type Float.

Input parameters

  • A Decimal value that should be converted to a Float value.
1
toFloat(parseDecimal('123.456'))

returns:

1
123.456