<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 - calc ROUND() precision bug"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138595">138595</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>calc ROUND() precision bug
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.3.1 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>beckyomegakawaii@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Video displaying the bug
<a href="https://youtu.be/Qg3eWC104c4">https://youtu.be/Qg3eWC104c4</a>

ODF file in question
<a href="https://mega.nz/file/WyYhHCTC#XxMHXwCSk6p3a_BtMFo5lr1C8IvelwhvMn8mtyNyb7w">https://mega.nz/file/WyYhHCTC#XxMHXwCSk6p3a_BtMFo5lr1C8IvelwhvMn8mtyNyb7w</a>

Steps to Reproduce:
1.Have a formula that results in a number with EXACTLY .5000000000~ (not
0.499999~ or similar)
2.ROUND() the result
3.Most of the time rounds up as it should, but sometimes it rounds down.

Actual Results:
Rounds down

Expected Results:
Rounds up


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
This has been happening since a long time ago, but I thought it was my
machine/the formula etc. I have confirmed that it happens on every single
computer i've ever tried.</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>