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