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

            Bug ID: 165389
           Summary: Calc: Rounding errors in subtraction.
           Product: LibreOffice
           Version: 24.8.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Under some but not all circumstances, subtracting the floating-point value in
one cell from the value in another cell leads to a rounding error.

Steps to Reproduce:
1. Enter a floating point number, forex, 281.66 in A1
2. Enter a second FP number (273.96) in A2
3. Enter =A1-A2 into A3
4. Expand Column A to see the unrounded value or check the Status Bar.

Actual Results:
A3 shows value 7.70000000000005

Expected Results:
A3 shows value 7.7


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 12; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to