all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to clear computed values
@ 2007-07-10 18:38 Cecil Westerhof
  2007-07-11  6:15 ` Carsten Dominik
  2007-07-11  7:22 ` Cecil Westerhof
  0 siblings, 2 replies; 9+ messages in thread
From: Cecil Westerhof @ 2007-07-10 18:38 UTC (permalink / raw)
  To: org-mode

I have a table like:
        |---------+---------+---------+--------+-------+----------+--------|
        | kmstand |    km's | prijs/l | liters | prijs | prijs/km |   km/l |
        |---------+---------+---------+--------+-------+----------+--------|
        |  155111 |       0 |         |        |  0.00 |   -0.000 |  0.000 |
        |  156146 |    1035 |   102.2 |  62.25 | 63.62 |    6.147 | 16.627 |
        |         | -156146 |         |        |  0.00 |   -0.000 |  0.000 |
        |---------+---------+---------+--------+-------+----------+--------|
        #+TBLFM: $2='(and @-1$-1 $1 (- $1 @-1$-1));N::$5='(and $3 $4 (/ (* $3 $4) 100));N%.2f::$6='(and $2 $5 (/ (* $5 100) $2));N%.3f::$7='(and $2 $4 (/ $2 $4));N%.3f

When there is nothing to display, there is now a '0' displayed, but I
would prefer it to be empty. Is this possible?
Also, why is prijs/km displayed as '-0.000'?
And why is the last field of km's displayed as  '-156146'? I expected
'0'.

-- 
Cecil Westerhof <CecilWesterhof@xs4all.nl>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-07-11 11:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-10 18:38 how to clear computed values Cecil Westerhof
2007-07-11  6:15 ` Carsten Dominik
2007-07-11  8:26   ` Cecil Westerhof
2007-07-11  8:49     ` Carsten Dominik
2007-07-11  9:02       ` Cecil Westerhof
2007-07-11 10:19         ` Carsten Dominik
2007-07-11 11:02           ` Cecil Westerhof
2007-07-11 11:21             ` Carsten Dominik
2007-07-11  7:22 ` Cecil Westerhof

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.