FGenericPlatformMath::CeilToInt

Converts a float to the nearest greater or equal integer.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h

Include

#include "GenericPlatform/GenericPlatformMath.h"

Syntax

static int32 CeilToInt
(
    float F
)

Remarks

Converts a float to the nearest greater or equal integer.

Returns

An integer greater or equal to 'F'.

Parameters

Parameter

Description

F

Floating point value to convert