native

floatround

Syntax

native floatround(Float:value, floatround_method:method=floatround_round);

Description

Rounds a floating point value to an integer value

Parameters

value Floating point value to be rounded
method Rounding method

Note

For the list of available rounding methods look at
floatround_method enumeration.

Return

Converted value