RoundToZero

Overload list

Windows
MacOS
Linux
Name Description

Public function Static

float

 

RoundToZero

(
    float F
)

Converts a floating point number to an integer which is closer to zero, "smaller" in absolute value: 0.1 becomes 0, -0.1 becomes 0

Public function Static

double

 

RoundToZero

(
    double F
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss