- Found in:
- Mathf
Description
Documentation Comment
Returns f (as Int) rounded to the nearest integer
Caveats
Parameters
floatf
Examples
Auto-Generated Example
float myFloat__f
int returnedValue = LibMathf.RoundToInt(myFloat__f)
Returns f (as Int) rounded to the nearest integer
float myFloat__f
int returnedValue = LibMathf.RoundToInt(myFloat__f)