Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float Modf
(
const float InValue, |
Breaks the given value into an integral and a fractional part. | GenericPlatform/GenericPlatformMath.h | |
static double Modf
(
const double InValue, |
Breaks the given value into an integral and a fractional part. | GenericPlatform/GenericPlatformMath.h |
Modf(const float, float *)
Description
Breaks the given value into an integral and a fractional part.
| Name | Modf |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static float Modf
(
const float InValue,
float * OutIntPart
)
The fractional part of the number.
Parameters
| Name | Remarks |
|---|---|
| InValue | Floating point value to convert |
| OutIntPart | Floating point value that receives the integral part of the number. |
Modf(const double, double *)
Description
Breaks the given value into an integral and a fractional part.
| Name | Modf |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static double Modf
(
const double InValue,
double * OutIntPart
)
The fractional part of the number.
Parameters
| Name | Remarks |
|---|---|
| InValue | Floating point value to convert |
| OutIntPart | Floating point value that receives the integral part of the number. |