emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Thomas Baumann <dtbaumann@yahoo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: table calculation broken again
Date: Sun, 4 Nov 2007 08:36:52 +0100	[thread overview]
Message-ID: <12527B72-F48A-494C-9950-F308BB3F1EA1@science.uva.nl> (raw)
In-Reply-To: <m37il2gt8d.fsf@norvel.baumann-gauting.site>


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

      reply	other threads:[~2007-11-04  7:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-01 10:22 Bug: table calculation broken again Thomas Baumann
2007-11-04  7:36 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12527B72-F48A-494C-9950-F308BB3F1EA1@science.uva.nl \
    --to=carsten.dominik@gmail.com \
    --cc=dtbaumann@yahoo.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).