The FloatToInt function converts a float to an integer.
Syntax
Integer Global.FloatToInt(
Float value)
Float value)
Parameters
| value | The float value. | Required |
|---|
Return value
The FloatToInt function returns the integer value.
Example
value = FloatToInt(25.8)
// value = 25
// value = 25