Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float RoundToPositiveInfinity
(
float F |
Converts a floating point number to an integer which is more positive: 0.1 becomes 1, -0.1 becomes 0 | Math/UnrealMathUtility.h | |
static double RoundToPositiveInfinity
(
double F |
Math/UnrealMathUtility.h |
RoundToPositiveInfinity(float)
Description
Converts a floating point number to an integer which is more positive: 0.1 becomes 1, -0.1 becomes 0
| Name | RoundToPositiveInfinity |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
static float RoundToPositiveInfinity
(
float F
)
The rounded integer
Parameters
| Name | Remarks |
|---|---|
| F | Floating point value to convert |
RoundToPositiveInfinity(double)
| Name | RoundToPositiveInfinity |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
static double RoundToPositiveInfinity
(
double F
)