<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 - Function "SUM()" work doesn't correct if final result is zerro."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126970">126970</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Function "SUM()" work doesn't correct if final result is zerro.
          </td>
        </tr>

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

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

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

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>oleksandr.ovonord@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If use function "SUM()" and some fields have negavice values and final result
will be zerro, then field result have "-424154+E12" or similar values.

Format field where vormula is used: Category Digital, Format Standard.

Steps to Reproduce:
1.Put "-46,4" in field j8
2.Put "4904,28" in field j9
3.Put "-4857,88" in field j10
4.Put formula in field j12 "SUM(J8:J10)"


Actual Results:
3,62376795237651E-13


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: uk
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

this bug reproduce in random combinations nuber but not all

reproduced:
-20,7
40018
-39997,3

Not reproduced:
-822,39
-44,38
866,77

***
Версія: 6.0.7.3
Код збірки: 1:6.0.7-0ubuntu0.18.04.8
Потоки ЦП: 2; ОС: Linux 4.15; Вимальовування ІК: усталено; VCL: kde4; 
Локаль: uk-UA (uk_UA.UTF-8); Calc: group
***</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>