unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jay Belanger <jay.p.belanger@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Display of numbers (money) in spreadsheet of org-mode
Date: Mon, 11 Jun 2007 12:07:53 -0500	[thread overview]
Message-ID: <878xaqpggm.fsf@gmail.com> (raw)
In-Reply-To: 1181307357.097101.109270@e65g2000hsc.googlegroups.com


carsten.dominik@gmail.com writes:

> On Jun 6, 12:25 pm, Cecil Westerhof <d...@dummy.nl> wrote:
>> I discovered the spreadsheet inorg-modetoday. I like it. But I would like
>> some nicer display. I have a field that is the sum of other fields. At the
>> moment it is displayed like
>>         15391.72
>> but I would like it to be displayed like
>>         15.391,72
>> is this possible?
>>
>> And if this is possible: is it possible to use this format for the input
>> fields?
>
> I don't think so, because calc does not support this.  Org-mode is
> using
> calc for the computations, and calc is also doing the parsing and
> formatting of numbers.

Calc can format the numbers as above.
In Calc, `d g' (calc-group-digits) will turn grouping on and off (with
an optional argument to set how many digits in a group), `d ,'
(calc-group-char) will set the grouping character, and `d .'
(calc-point-char) will set the decimal point character.  So, in Calc, 
`d g', `d , .', `d , .' will give the desired display.  (I don't know
how this would be done through org-mode, unless the settings are made
in the Calc init file.)  However, this doesn't change the way that
numbers can be entered, they have to be entered using periods as
decimal points.

Jay

      reply	other threads:[~2007-06-11 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 10:25 Display of numbers (money) in spreadsheet of org-mode Cecil Westerhof
2007-06-08 12:55 ` carsten.dominik
2007-06-11 17:07   ` Jay Belanger [this message]

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878xaqpggm.fsf@gmail.com \
    --to=jay.p.belanger@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).