Mendix 7 is no longer supported unless you have Extended Support. Mendix 7 documentation will remain available until July 2024.

To upgrade to a supported version, see Moving from Desktop Modeler Version 7 to Studio Pro 8.

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