Background for Skyrim SE
Member of the DbMiscFunctions script
floatfunctionRoundAsFloat(floatf)Global

Description

Documentation Comment

rounds the float input and returns float
5.4 returns 5.0
5.5 returns 6.0


Caveats


Parameters

floatf


Examples

Auto-Generated Example

float myFloat__f

float returnedValue = DbMiscFunctions.RoundAsFloat(myFloat__f)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.