Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
Include |
#include "GenericPlatform/GenericPlatformMath.h" |
static int32 RoundToInt
(
float F
)
Converts a float to the nearest integer. Rounds up when the fraction is .5
The nearest integer to 'F'.
Parameter |
Description |
---|---|
F |
Floating point value to convert |