emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johan Sandblom <js@ndblom.se>
To: thomas@koch.ro
Cc: emacs-orgmode@gnu.org
Subject: Re: how to avoid floating number problems with org-table for finances?
Date: Fri, 12 Oct 2012 20:00:48 +0200	[thread overview]
Message-ID: <7e914338b50766ad2b21d23e1155fb85@ndblom.se> (raw)
In-Reply-To: <201210121907.00833.thomas@koch.ro>

Not what you asked for, but how about simply rounding it?

2012-10-12 19:06 skrev Thomas Koch:
> | 0.9000000000000000222044604925031308084726 |
> #+TBLFM: @4$1=vsum(@1..@3);%.40f

#+TBLFM: @4$1=round(vsum(@1..@3);%.40f

-- 
Johan Sandblom, MD PhD
m +46735521477
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
--Bertrand Russell

  reply	other threads:[~2012-10-12 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-12 17:06 how to avoid floating number problems with org-table for finances? Thomas Koch
2012-10-12 18:00 ` Johan Sandblom [this message]
2012-10-12 18:04 ` Johan Sandblom
2012-11-01 18:04 ` Michael Brand

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=7e914338b50766ad2b21d23e1155fb85@ndblom.se \
    --to=js@ndblom.se \
    --cc=emacs-orgmode@gnu.org \
    --cc=thomas@koch.ro \
    /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).