[Libreoffice-bugs] [Bug 153887] So-called improper fractions are badly formatted with a fix denominator to "0/0" under a certain condition.

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153887

Laurent Balland  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |jumbo4...@yahoo.fr
   |desktop.org |
 Status|NEW |ASSIGNED

--- Comment #3 from Laurent Balland  ---
I think the bug was introduced by
https://cgit.freedesktop.org/libreoffice/core/commit/svl/source/numbers/zformat.cxx?id=5706b29974c1c3ab0ba5a23685accf2fbebc3e06


https://opengrok.libreoffice.org/xref/core/svl/source/numbers/zformat.cxx?r=2cb2e2b9#2891
nDiv should not be reset to 0, but to 1 or forced denominator

unfortunately, all our unit tests round down the value, so this bug was not
detected.

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

[Libreoffice-bugs] [Bug 153887] So-called improper fractions are badly formatted with a fix denominator to "0/0" under a certain condition.

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153887

--- Comment #2 from Laurent Balland  ---
Reproduce with free denominator as well
1. Enter value 1.95
2. Format as ?/? (no integer part)

Actual result:
0/0

Expected result:
2/1

No problem if value is 2 or slightly above like 2.001. Bug occurs when value is
below integer.
No change if other digit codes (# or 0) are used to create fraction format.

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

[Libreoffice-bugs] [Bug 153887] So-called improper fractions are badly formatted with a fix denominator to "0/0" under a certain condition.

2023-03-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153887

Laurent Balland  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #1 from Laurent Balland  ---
Confirmed with Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

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

[Libreoffice-bugs] [Bug 153887] So-called improper fractions are badly formatted with a fix denominator to "0/0" under a certain condition.

2023-02-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153887

Wolfgang Jäger  changed:

   What|Removed |Added

 CC||j...@psilosoph.de
Version|unspecified |5.3.0.3 release

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