You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- FText rounding relied on FMath::RoundHalfFrom/ToZero to truncate the fraction part before rounding from/to zero. This behavior in FMath has changed and this change brings truncation back to FText rounding routines. The rounding errors is caused when rounding with x decimal digitis. For example FText RoundHalfFromZero expects 1000.1225 to be rounded to 1000.123 but calling FMath::Modf results in 0.1249999. Trying to round this with 3 decimal digits without truncation results in 0.122 => 1000.122. #review-5644550 @steve.robb [CL 5914907 by Per Larsson in Dev-Core branch]