Language:
Discover
By Skill Level
By Category

FGenericPlatformMath::FloorToFloat

Choose your OS:

Syntax

static float FloorToFloat
(
    float F
)

Remarks

Converts a float to the nearest less or equal integer.

An integer less or equal to 'F'.

Returns

An integer less or equal to 'F'.

Parameters

Parameter

Description

F

Floating point value to convert

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h