emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG] Table not recomputed (incorrect results)


From: Carsten Dominik
Subject: Re: [O] [BUG] Table not recomputed (incorrect results)
Date: Tue, 10 Sep 2013 05:44:17 +0200

On 10.9.2013, at 04:32, "Sebastien Vauban" <address@hidden> wrote:

> Hello,
> 
> I'm loosing my latin with the following table, which Org declares as
> "converged" or "already stable".
> 
> --8<---------------cut here---------------start------------->8---
> #+TITLE:     Birthday
> 
> * Commande
> 
> | mini sandwiches                 | 261 | 1.00 | 260.00 |
> | rauwkostchotels                 |   2 |  36. |  72.00 |
> | koude hapjes                    | 130 |      |   0.00 |
> | dessertjes (in hapjes glaasjes) |  90 |    3 |   0.00 |
> |---------------------------------+-----+------+--------|
> | total                           |     |      |   332. |
> #+TBLFM: $4=$2*$3;%.2f::@2$3=30*1.2::@5$4=vsum(@address@hidden)
> 
> Total paid: *580 EUR*...
> --8<---------------cut here---------------end--------------->8---
> 
> Obviously, if you look at the amounts, it isn't correct...
> 

Hi Sebastien,

The first four lines are all above the first hline and
are therefore treated as header and are exempt from calculation.
Formular applying to these fields are ignored.

Add a header line to the table:

| a                               |   b |    c |    d |
|---------------------------------+-----+------+------|
| mini sandwiches                 | 261 | 1.00 | 261. |
| rauwkostchotels                 |   2 |  36. |  72. |
| koude hapjes                    | 130 |      |    0 |
| dessertjes (in hapjes glaasjes) |  90 |    3 |  270 |
|---------------------------------+-----+------+------|
| total                           |     |      |    0 |
#+TBLFM: $4=$2*$3;%.2f::@2$3=30*1.2::@5$4=vsum(@address@hidden)

Cheers

- Carsten


> What am I not seeing?
> 
> Best regards,
>  Seb
> 
> -- 
> Sebastien Vauban
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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