Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/RoundFromZero
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include | #include "Math/UnrealMathUtility.h" |
static float RoundFromZero
&40;
float F
&41;
Remarks
Converts a floating point number to an integer which is further from zero, "larger" in absolute value: 0.1 becomes 1, -0.1 becomes -1 The rounded integer
Parameters
Name | Description |
---|---|
F | Floating point value to convert |