Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

win% truncation

A topic by DavidLloydOwen created 59 days ago Views: 482 Replies: 2
Viewing posts 1 to 2

Win% is rounded down , not rounded to the nearest integer. 92 wins out of 93 games registers as 98%, not 99%. (Same happens in xdle.)

Probably to prevent people showing as 100% despite not having a perfect win rate.

199/200 = 99.5 and under normal rounding rules would round up.

While it's possible to implement multiple rules to prevent this it's a pain to do and generally not worth it.

Hi whozit.

I take your point, and agree that 100% should be reserved for a perfect score. It would only require one extra rule, however, to preserve this while allowing normal rounding rules to apply in all other cases.