<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 - Viewing: Error Adding up columns with percents"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136953">136953</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Viewing: Error Adding up columns with percents
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.1.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>susan@susans.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have a spreadsheet with a 2 datasets with a header 97 counties, cases,
deaths, and positive ratio for each.

One is today and one is yesterday. The center column tracks the day's changes

Each day i zero it out by copying today to yesterday before updating today's.

Today I decided to track the increase or decrease in the positive ratio and
decided to sum the total, with the spreadsheet in it's zero'd state I did not
get 0% like I expected. 

I got 0.01%.

I removed the percent formatting and saw I had 7.22573e-05. as the total from
adding up a column of what should have been 0% numbers. So I took off
formatting on the columns.

Subtracting 8.65% from 8.65% gave me 3.84615e-05
Subtracting 13.33% from 13.33% gave me 3.3333e-05
Subtracting 9.09% from 9.09% gave me -9.0909e-06 

See attached image in the actual results section.


Steps to Reproduce:
1.See Description
2.
3.

Actual Results:
image: <a href="https://imgur.com/a/EF4UHOa">https://imgur.com/a/EF4UHOa</a>

Expected Results:
0 when formatted as a number and 0.00% when formatted as a percent.


Reproducible: Always


User Profile Reset: No



Additional Info:
I was having the error on 6.4 so upgraded to the latest release and the problem
still occurs on it.</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>