Language:
Discover
By Skill Level
By Category

FGenericPlatformMath::FloorToInt

Choose your OS:

Syntax

static int32 FloorToInt
(
    float F
)

Remarks

Converts a float to a 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