Syntax
- float rint(x)
- float[] rint(x)
Parameters
- x—(float, float[])
Returns
The floating point number x, rounded to the nearest integer, or a new array containing rounded integer values of elements of x. Integral values remain unchanged.
The floating point number x, rounded to the nearest integer, or a new array containing rounded integer values of elements of x. Integral values remain unchanged.