emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-table-sum


From: Robert Pluim
Subject: Re: org-table-sum
Date: Fri, 25 Sep 2020 10:59:42 +0200

>>>>> On Thu, 24 Sep 2020 16:48:14 -0400, Kyle Meyer <kyle@kyleam.com> said:

    >> I did not find a way to reproduce this with other numbers, but the
    >> order seems to matter.

    Kyle> See <https://floating-point-gui.de/basic/>.

Exactly. Which is why you should use 'calc' with floating point
numbers, it handles them correctly. i.e.

| 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 |
|--------|
|        |
#+TBLFM:@>$1=vsum(@1$1..@-1$1)

Put point in that empty cell and do 'C-u C-c C-c'

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]