Bug 123593 - What's wrong with percent format for calc cells?
Summary: What's wrong with percent format for calc cells?
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-20 12:10 UTC by fnu
Modified: 2019-02-20 13:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (30.98 KB, image/png)
2019-02-20 12:14 UTC, fnu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fnu 2019-02-20 12:10:58 UTC
Description:
If I try to use percent format for cells, Calc is doing something strange.

E.g. I have a value of 18,60 (german format) and try to use percent format for that cell, Calc does display 1860,00 % or 1860 %.

I guess not only I would like to see "18,60 %" in that cell, because my used value is 18,6% ...

Currency cell format does work very good on the other hand.

Steps to Reproduce:
1. Type in any percent value in one cell, like e.g. 15,20 (german format)
2. Mark cell, right click, format cell, choose percentage format
3. 

Actual Results:
It will show as 1520,00 % or 1520 %

Expected Results:
It should show 15,20 %


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 fnu 2019-02-20 12:14:17 UTC
Created attachment 149440 [details]
Screenshot
Comment 2 Aron Budea 2019-02-20 12:38:02 UTC
Percent format is really just a different visual output of the same value. The expected 18,6% corresponds to 0,186, but that's not what you had in the cell. The entered 18,6 value corresponds to 1860%.

If you'd like to be able to have the entered 18,6 to be considered percentage in itself, please set cell format to percent first, and enter the value afterwards.
Comment 3 Eike Rathke 2019-02-20 12:47:46 UTC
Or in a General formatted cell just enter 18,6% which inputs the desired value and sets a percent format.
Comment 4 fnu 2019-02-20 13:43:44 UTC
Ok thanks.

For me these format options have just been visial things, like currency, and was unfortunately not obvious (nor really visable) that in case of percentage format the decimal value will be calculated right away ...

But I'm still the opinion that behaviour on changing cell format to percentage is not right, very unfortunate. Why can't it treat an already existing value as correct value directly ... ?