FGenericPlatformMath::Fractional

Returns signed fractional part of a float.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformMath.h"

Syntax

static float Fractional
(
    float Value
)

Remarks

Returns signed fractional part of a float.

Returns

A float between >=0 and < 1 for nonnegative input. A float between >= -1 and < 0 for negative input.

Parameters

Parameter

Description

Value

Floating point value to convert

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss