Fixed [2.1.17] FixedRound Always Returns 2147483647

Status
Not open for further replies.

Sryder

'That brit'
Kart Krew™️
Code:
print(FixedRound(FRACUNIT))
prints 2147483647 for example.
 
Last edited by a moderator:
It appears the mistake is in how the function calculates the fractional part of the number supplied, and that the same mistake also applies to the FixedFloor, Ceil and Trunc functions.

It's quite obvious how little we've used these functions ourselves I take it.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top