emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel E. Doherty" <ded@ddoherty.net>
To: emacs-orgmode@gnu.org
Subject: Allow Currency Symbols and Grouping Commas in Table Numbers
Date: Thu, 26 May 2022 14:40:56 -0500	[thread overview]
Message-ID: <87pmk0qdfb.fsf@ddoherty.net> (raw)


I often use org table to perform calculations and export those tables
to LaTeX documents.

One thing I always wished I could do with org tables is get it to
allow numbers to be decorated with currency symbols, the dollar, euro,
yen, etc., as well as grouping commas so that the tables are more
suitable for presentation.

I can see from the code that there is a function,
org-table--number-for-summing, that converts text into numbers for
summing, and it would seem it could strip out leading or trailing
currency symbols as well as grouping commas before submitting numbers
to calc for calculation.

Consider this a feature request.  I think it would be a very popular
enhancement to org.

Regards,

--
====================================================
Daniel E. Doherty
Law Offices of Daniel E. Doherty
7300 W. 110th Street, Suite 930
Overland Park, KS 66210
913.338.7182 (Phone)
913.338.7164 (FAX)
ded@ddoherty.net


             reply	other threads:[~2022-05-26 19:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 19:40 Daniel E. Doherty [this message]
2022-05-27  8:22 ` Allow Currency Symbols and Grouping Commas in Table Numbers Ihor Radchenko
2022-05-27 11:00   ` Eric S Fraga
2022-05-27 11:17     ` Ihor Radchenko
2022-05-27 12:02       ` Eric S Fraga
2022-05-27 13:49   ` Daniel E. Doherty
2022-05-27 14:49     ` Ihor Radchenko
2022-05-31 14:19       ` Daniel E. Doherty
2022-06-02  4:57         ` Ihor Radchenko
2022-06-03 20:37           ` Daniel E. Doherty

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=87pmk0qdfb.fsf@ddoherty.net \
    --to=ded@ddoherty.net \
    --cc=emacs-orgmode@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.
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).