GNOME Bugzilla – Bug 547039
formatting cells as percentage incorrectly rounds some values
Last modified: 2008-08-23 22:13:30 UTC
Please describe the problem: Originally reported in Launchpad link https://bugs.edge.launchpad.net/ubuntu/+source/gnumeric/+bug/240392 Copied Description: Enter the value 0.265 in a cell. Format the cell as a percentage with zero decimal places - it will display as 26%. This erroneous rounding does not happen with 0.275, 0.285. I've found a few other values where this happens, eg 0.625 Steps to reproduce: Actual results: Expected results: Does this happen every time? Yes Other information: Interestingly, a value such a 0.275 gets rounded off to 28% but not 0.265. May be we are missing something?
I don't see what is wrong. Rounding to the nearest even figure in such cases is a widely used convention (but not the only one). 026500001 is rounded to 27%.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. See comment 4 in bug 509965. *** This bug has been marked as a duplicate of 509965 ***