VEX Dictionary / rint
rint
Rounds a float or each component of a vector to the nearest whole number.
group: mathmathnumber
Available in every context
Usage
float rint(float n)
<vector> rint(<vector> v)
Examples
No worked examples yet.
Signatures (from vcc -X)
float rint(float)all contextsvector4 rint(vector4)all contextsvector2 rint(vector2)all contextsvector rint(vector)all contexts