emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Tables for attendance lists - A problem understanding TBLFM?


From: Michael Brand
Subject: Re: [O] Tables for attendance lists - A problem understanding TBLFM?
Date: Tue, 9 Apr 2013 14:41:17 +0200

Hi Gunnar

On Tue, Apr 9, 2013 at 1:57 AM, Gunnar Wolf <address@hidden> wrote:

> #+tblfm: @address@hidden'(length 
> '($3..$7))::@6$2=vmean($3..$7);%.2f::@address@hidden'(length 
> '(@address@hidden))::@6$8=vmean(@address@hidden);%.2f

I would use

#+TBLFM: $8 = vlen($3..$7) :: @>$2 = vmean($3..$7); E %.2f ::
@>$3..@>$7 = vlen(@address@hidden) :: @>$8 = vmean(@address@hidden); E %.2f

or

#+TBLFM: $8 = vlen($3..$7) :: @>$2 = vmean($3..$7) +.0; E f-2 ::
@>$3..@>$7 = vlen(@address@hidden) :: @>$8 = vmean(@address@hidden) +.0; E f-2

For +.0 and f-2 see
http://orgmode.org/worg/org-faq.html#table-float-fraction

Michael



reply via email to

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