https://bugs.documentfoundation.org/show_bug.cgi?id=161974

--- Comment #19 from Pit Hauge <pi...@web.de> ---
Rounding causes errors, which are smaller when there are many decimal places,
but the principle is the same. Whether you round decimal or binary does not
change the principle. Therefore, the following simplified example calculation: 
let the width of a digit be 100/3 units, rounded to 33; the width of the
decimal point be 100/10 units, rounded to 10; the cell be 109 units wide. This
determines that GetOutputString can output four characters: one place before
the decimal point, one decimal point, two places after the decimal point.
The three digits result in a width of 3*100/3 = 100 units, plus the decimal
point with 100/10 = 10 units, making a total of 110 units, i.e. more than the
width of 109 units. That is why ### is displayed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to