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

Laurent BP <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #5 from Laurent BP <[email protected]> ---
(In reply to Laurent BP from comment #4)
> If numerator length is larger than denominator length, there is no bug. To
> avoid extra blank, replace numerator with many #
> # ####/? or # ####/?? or # ####/???
Actually, Precision is taken from NumFor[0].nCntPost
http://opengrok.libreoffice.org/xref/core/sc/source/core/data/documen4.cxx#RoundValueAsShown
 which is not correct for fraction. It should be nCntExp like here:
http://opengrok.libreoffice.org/xref/core/svl/source/numbers/zformat.cxx#GetNumForInfo

However, I noticed another bug for "Precision as shown": it takes precision
from the first sub-format, which may be wrong with such (strange) format:
0.00;-0.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to