bugs

Forum > Bugs > Ratio
Reply To Thread (login)
Tito [93]
2011-01-08 12:28:05
[13 years, 118 days ago]

wins: 4385
losses: 1003
ratio: 4.4


These are my current stats and my ratio should be 4.3 instead of 4.4.


 
Bazza [95]
2011-01-08 12:40:52
[13 years, 118 days ago]

Maybe it's because 4.37 is nearer to 4.4 than 4.3
Bazza


 
Ender [26]
Administrator
2011-01-08 13:00:21
[13 years, 118 days ago]

Yes, it gets rounded.


 
Tito [94]
2011-01-08 13:17:38
[13 years, 118 days ago]

Thought thats the case, just wanted to be sure. Thnx.


 
ForThePeople [77]
2011-01-08 14:32:50
[13 years, 118 days ago]

I think for bots for it should go 2 to 3 decimal places.


 
Shoegazer [65]
Moderator
2011-01-08 19:36:23
[13 years, 118 days ago]

In bots2 your ratio did not round up when you see it at the top of the screen, but would round up when viewed in your clan profile. I noticed the same thing, it caught me off guard because i was so used to seeing it increase prior to actually reaching that value.

For instance, in bots2 at the top of the screen I'd see my bot info and my ratio would be something like 425836/17455 (24.396 actual) but would display as 24.3 and would show as 24.4 in clan profile.


 
Jans [39]
2011-01-08 19:44:46
[13 years, 118 days ago]

floR wasn't very consistent how/when he used Round and Fix. When you think about it, it doesn't really matter whether its rounded or not, as long as it's done the same throughout the game.


 
ForThePeople [77]
2011-01-08 19:53:49
[13 years, 118 days ago]

very very true but still three decimals for the one


 
Alan [44]
2011-01-08 20:14:01
[13 years, 118 days ago]

When a number gets rounded down even if it is supposed to be rounded up, it is called floor. Same thing with if it was rounded up, instead of down, it is called ceil.

10.9999 : floor -> 10
10.0001 : ceil -> 11

I'm sure that Ender is using the same rounding through out the game.

-Alan


 
Forum > Bugs > Ratio
Reply To Thread (login)