floatround
Syntax
native floatround(Float:value, floatround_method:method=floatround_round);
Usage
| Parameter | Description |
|---|---|
| value | Floating point value to be rounded |
| method | Rounding method |
Description
Rounds a floating point value to an integer value
Note
For the list of available rounding methods look at floatround_method enumeration.
Return
Converted value