Truncate

Truncate

Windows
MacOS
Linux

Rounds A towards zero, truncating the fractional part (e.g., -1.6 becomes -1 and 1.6 becomes 1)

Target is Kismet Math Library

Truncate
A
0.0
Return Value
0

Inputs

A
Float

Outputs

Return Value
Integer

Rounds A towards zero, truncating the fractional part (e.g., -1.6 becomes -1 and 1.6 becomes 1)

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