https://bugs.documentfoundation.org/show_bug.cgi?id=157514
Bug ID: 157514
Summary: Delete Decimal Places should consider the number of
visible decimal places
Product: LibreOffice
Version: 24.2.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
When the user selects a cell with decimal numbers and click "Delete Decimal
Places", the command should consider the number of currently visible decimal
places in the cell and then reduce the number of decimal places considering
this value.
Steps to reproduce:
1) Open a new Calc document and enter 1/3 in cell A1
2) You'll see the value 0,333333333 (with 9 visible decimal places)
3) Select cell A1 and click "Delete Decimal Place" button in the toolbar
4) Notice that you'll get ### because actually Calc was considering as a
starting point the value 0,333333333333333 (with 15 decimal places); thus
reducing it to 14 decimal places will cause the number to not fit the cell
Expected result
After clicking "Delete Decimal Place", we should have gotten 0,33333333 (with 8
zeros)
This is very annoying, because often times I have to click "Delete Decimal
Place" 10 times to get the number of decimal places that I want.
--
You are receiving this mail because:
You are the assignee for the bug.