Documentation
›
API Reference
›
Object
›
Math
Round
Lua
C++
This function rounds a decimal value off to the nearest integer.
Syntax
number
Round
(number f)
Parameters
f:
the input value.
Returns
Returns the input value rounded off to the nearest integer.