Background for Skyrim SE
Member of the LibMathf script
intfunctionRoundToInt(floatf)NativeGlobal

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)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.