* Bug: table calculation broken again
@ 2007-11-01 10:22 Thomas Baumann
2007-11-04 7:36 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Baumann @ 2007-11-01 10:22 UTC (permalink / raw)
To: emacs-orgmode
Hi Carsten and others who might help,
I thought this had been solved in between but somehow
|------------+------+----+------+--------|
| 26.10.2007 | Cost | 68 | 0.30 | 110.40 |
|------------+------+----+------+--------|
| | Sum | | | 110.40 |
#+TBLFM: $5=$3*$4;%.2f::@2$5=vsum(@I..@II);%.2f
won't work (I almost sent an incorrect invoice ...) whereas
| Test | tt | tt | | |
|------------+------+----+------+-------|
| 26.10.2007 | Cost | 68 | 0.30 | 20.40 |
|------------+------+----+------+-------|
| | Sum | | | 20.40 |
#+TBLFM: $5=$3*$4;%.2f::@3$5=vsum(@I..@II);%.2f
works fine.
Orgmode is 5.13h
And again, thanks for this wonderful extension.
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: table calculation broken again
2007-11-01 10:22 Bug: table calculation broken again Thomas Baumann
@ 2007-11-04 7:36 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-11-04 7:36 UTC (permalink / raw)
To: Thomas Baumann; +Cc: emacs-orgmode
On 1Nov2007, at 11:22 AM, Thomas Baumann wrote:
> Hi Carsten and others who might help,
>
> I thought this had been solved in between but somehow
>
> |------------+------+----+------+--------|
> | 26.10.2007 | Cost | 68 | 0.30 | 110.40 |
> |------------+------+----+------+--------|
> | | Sum | | | 110.40 |
> #+TBLFM: $5=$3*$4;%.2f::@2$5=vsum(@I..@II);%.2f
>
> won't work (I almost sent an incorrect invoice ...) whereas
>
> | Test | tt | tt | | |
> |------------+------+----+------+-------|
> | 26.10.2007 | Cost | 68 | 0.30 | 20.40 |
> |------------+------+----+------+-------|
> | | Sum | | | 20.40 |
> #+TBLFM: $5=$3*$4;%.2f::@3$5=vsum(@I..@II);%.2f
>
> works fine.
>
> Orgmode is 5.13h
This is not a bug, it is intended to work like this. A hline before
the table
is considered a table border line, not a separator line. I do not want
table formulas depend on the habit of a user to have or have not the
table
start with a hline. I will make the clearer in the docs.
- Carsten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-04 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-01 10:22 Bug: table calculation broken again Thomas Baumann
2007-11-04 7:36 ` Carsten Dominik
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).