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

            Bug ID: 138046
           Summary: Formating percentages varies when leading zero is
                    applied to single integer value
           Product: LibreOffice
           Version: 6.4.6.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Version: 6.4.6.2 (x64)
Build ID: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; 
Locale: sv-SE (en_GB); UI-Language: en-GB
Calc: threaded

When a default left alignment cell has been defined as a percentage and has a
two digit integer then the default leading zero format parameter is defaulted
to 1 and the percentage symbol "%" is preceded by a space viz "17.55 %" but if
the value only has a one digit integer and the leading zero format parameter is
manually defined as 2 in order to achieve a notional decimal alignment then the
preceding space is trimmed from  the "%" symbol viz "07.55%".
If the formatting is then amended to a single leading zero then the format
remains "space trimmed"

enter .1755  and format the cell as %
enter .0755 and format the cell as %
observe the presentation and alignment
17.55 %
7.55 %
reformat the second value to have 2 leading zeros and observe the presentation
and alignment
17.55 %
07.55%
Reformat the second value to 1 leading zero and the format remains in the space
"trimmed" form - "undo" the reformatting and it reverts to the "spaced" format.

-- 
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