Menu

#82 incorrect rounding

open
nobody
None
5
2011-02-19
2011-02-19
Anonymous
No

Hi, fellows! Your framework is awesome, but unfortunately i have noticed that from time to time it does not work correctly:

3 numbers: 13, 18 and 13 (totally 44)

18/44=0,409 (=41 as rounds your framework)
13/44=0.295 (=30 as rounds your framework)

so, at the final chart we see 41%, 30$ and 30% (101% instead of 100%).
i want to say that It may be desired to fix this problem.

Thanks!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB