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