Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float Frac
(
float Value |
Returns the fractional part of a float. | GenericPlatform/GenericPlatformMath.h | |
static double Frac
(
double Value |
GenericPlatform/GenericPlatformMath.h |
Frac(float)
Description
Returns the fractional part of a float.
| Name | Frac |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static float Frac
(
float Value
)
A float between >=0 and < 1.
Parameters
| Name | Remarks |
|---|---|
| Value | Floating point value to convert |
Frac(double)
| Name | Frac |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static double Frac
(
double Value
)