Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure, Meta=(DisplayName="Truncate to Integer64", BlueprintAutocast),
Category="Math|Float")
static int64 FTrunc64
(
double A
)
Remarks
Rounds A towards zero, truncating the fractional part (e.g., -1.6 becomes -1 and 1.6 becomes 1)