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

            Bug ID: 154941
           Summary: MROUND inconsistent behavior
           Product: LibreOffice
           Version: 6.4.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Tested on 7.5.1.2 (Win10) and on 6.4.7.2 (Linux) :

The MROUND function applied on a number which ends by a 5 can produce different
results dependings on the previous digit.

Steps to Reproduce:
1. Type =MROUND(1.25,0.1)
2. Type =MROUND(1.45,0.1) 
3.

Actual Results:
For =MROUND(1.25,0.1), result is 1.3
For =MROUND(1.45,0.1) result is 1.4

Expected Results:
For =MROUND(1.25,0.1), expected result is 1.3 (as actual result)
For =MROUND(1.45,0.1) expected result is 1.5


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded

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

Reply via email to