[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-table-sum
From: |
Mark Janes |
Subject: |
Re: org-table-sum |
Date: |
Thu, 24 Sep 2020 13:08:48 -0700 |
I can reproduce this with org 9.3.1. I imagine the decimal numbers
have precision problems when converted to binary floating point.
A simpler table to reproduce:
| 83.6 |
| .1 |
|-------------------|
| 83.69999999999999 |
Kein Test <soetwasaberauch@gmail.com> writes:
> Hi,
>
> I found out about org-table-sum yesterday, but I quickly ran into a
> problem, where the result is not right.
>
> For example:
>
> | 171.00 |
> | 4.07 |
> | 4.44 |
> | 2.61 |
> | 12.21 |
> | 6.69 |
> | 19.72 |
> | 23.09 |
> | 6.23 |
> | 15.28 |
> | 250.00 |
> | 250.00 |
> | 250.00 |
> | 78.85 |
> | |
>
> If point is at the last cell, org-table-sum evaluates to 1094.1899999999998.
>
> I did not find a way to reproduce this with other numbers, but the
> order seems to matter.
>
> Best wishes
Re: org-table-sum, Eric S Fraga, 2020/09/25