Last updated on
Jul 13, 2023
Float to integer
Parameters
- Mode Integer (selects an Enum index)
The rounding method applied to the input float value:- Ceil: (ceiling) Round up;
- Floor: Round down;
- Round: round down if
x % 1 < 0.5
OR round up ifx % 1 >= 0.5
.
- Value Float
The value converted to integer.
Example Images