<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Strange/wrong sum in Calc"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134549">134549</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Strange/wrong sum in Calc
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jacekwr@poczta.onet.pl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have summed up some numbers (expenses and income from few operations and as a
result I have rceived a number with a strange rest behind zero (I've double
checked, all the summed up values were limited to 2 digits):
-500,00000000000000000000       
-500,00000000000000000000       
560,27000000000000000000        
2515,76000000000000000000       
700,00000000000000000000        
-27,31000000000000000000        
-700,00000000000000000000       
-2076,03000000000000000000      
-27,30999999999990000000        Sum

Strange....

Steps to Reproduce:
1. Write down following numbers in subsequent cells (vertical): 
-500
-500
560,27
2515,76
700
-27,31
-700
-2076,03
2. Create SUM function below, or simply add-up (both give same results)
3. Increase column width and increase number of digits.
4. Have fun. ;)
5. Tip: Removing ANY number from the list makes sum correct. But that's not a
solution.

Actual Results:
-27,3099999999999

Expected Results:
-27,31


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Wersja: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
Wątki CPU: 8; OS:Windows 10.0; UI render:domyślny; VCL: win; 
Ustawienia regionalne: pl-PL (pl_PL); Język interfejsu: pl-PL
Calc: CL</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>