PAYDAY: The Heist

PAYDAY: The Heist

3
   
Award
Favorite
Favorited
Unfavorite
Caption
"Completed objectives : 100%; reward : 0K$. Thx payday"
5 Comments
Am17 3 Apr, 2021 @ 3:59pm 
How are you rep 1000?
DorentuZ` 7 Dec, 2020 @ 12:17pm 
Yeah actually it's not. Possibly a slight disadvantage because it doesn't always round up based on my very limited testing, but mostly negligible. Seems that in this case with multiples of 16, it rounds down for the first 8 values in the range and up in the last 8. So really not worth the effort of doing anything about this.
Cloaker Hater  [author] 6 Dec, 2020 @ 11:03pm 
And how is that an advantage? I'm not sure if it results in higher or lower amount of money obtained in general.
Cloaker Hater  [author] 6 Dec, 2020 @ 9:00pm 
It's nearest multiple of 16 for my amount of money (>135000000). For less values it gives nearest multiple of 8,4,2
DorentuZ` 6 Dec, 2020 @ 1:24pm 
Ah that's how it works. Never bothered to look into the differences in numbers, but that suggests it rounds to the nearest multiple of 16 for large numbers. I could fix it by making some big number type on top of strings, but I don't really see the point. The rounding appears to be in your advantage anyway.