FGenericPlatformMath::FloorToDouble

Converts a double to a less 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 double FloorToDouble
(
    double F
)

Remarks

Converts a double to a less or equal integer.

Returns

The nearest integer value to 'F'.

Parameters

Parameter

Description

F

Floating point value to convert