https://bugs.documentfoundation.org/show_bug.cgi?id=153887
Bug ID: 153887
Summary: So-called improper fractions are badly formatted with
a fix denominator to "0/0" under a certain condition.
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Number formatting supports fixed denominators and so-called improper fractions
without splitting off the integer part. A respective format code is e.g. "?/8".
If the formatting requires the roundig UP to an integer, the diplayed result is
0/0.
Example:
1.995 formatted using the code ?/8 results in 0/0.
The expected correct result would be 16/8.
The error is bound to the AMOUNT of the input, and does not occur if the
integer result to show is obtained by rounding DOWN.
This seems to be a regression introduced with V 5.3.
That version implemented a new algorithm for fractional formatting. That
algorithm should, however, not be related to the reported bug. It only provides
the raw result. If an integer part is split off or not should occur later.
Cf tdf#99996 .
Older versions don't show the bug.
Support for fix demominators was introduced verty early in LibO, but was not
heritage.
--
You are receiving this mail because:
You are the assignee for the bug.