emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] searching for csv utilities


From: Michael Brand
Subject: Re: [O] searching for csv utilities
Date: Thu, 4 Jun 2015 17:45:04 +0200

Hi Nick

On Thu, Jun 4, 2015 at 5:22 PM, Nick Dokos <address@hidden> wrote:
> Also, if one uses a format on an undefined function (e.g. using
> vmode(@address@hidden); %.2f), I get 0.0 as a result and the error is hidden -
> if the format is omitted, the literal vmode([...]) appears in the table,
> so in that case at least one gets a hint that something is wrong. That
> probably qualifies as a bug, but I don't know how easy it would be to fix.

Yes. Anyway, Calc has its own formatter which can be a solution:

| Date             |              Sys |            Dia |
Pul |          Sugar |
|------------------+------------------+----------------+----------------+----------------|
| [2014-04-27 Sun] |              125 |             88 |
78 |             92 |
| [2014-04-28 Mon] |              102 |             88 |
86 |             92 |
|------------------+------------------+----------------+----------------+----------------|
| vmean            |           113.50 |          88.00 |
82.00 |          92.00 |
| vcount           |             2.00 |           2.00 |
2.00 |           2.00 |
| vmax             |           125.00 |          88.00 |
86.00 |          92.00 |
| vmedian          |           113.50 |          88.00 |
82.00 |          92.00 |
| vmin             |           102.00 |          88.00 |
78.00 |          92.00 |
| vstdev           | vstdev(125, 102) | vstdev(88, 88) | vstdev(78,
86) | vstdev(92, 92) |
| vsum             |           227.00 |         176.00 |
164.00 |         184.00 |
|------------------+------------------+----------------+----------------+----------------|
#+TBLFM: @>>>>>>>$2..@>$> = apply($1, @address@hidden) +.0; f-2

See also the Worg FAQ
http://orgmode.org/worg/org-faq.html#table-float-fraction

Michael



reply via email to

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