From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gDAGMOYfal8dYQAA0tVLHw (envelope-from ) for ; Tue, 22 Sep 2020 16:01:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WFjTK+Yfal80LAAAB5/wlQ (envelope-from ) for ; Tue, 22 Sep 2020 16:01:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A19419404CC for ; Tue, 22 Sep 2020 16:01:41 +0000 (UTC) Received: from localhost ([::1]:40890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKkjb-0007qR-QY for larch@yhetil.org; Tue, 22 Sep 2020 12:01:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKjjo-0000J4-SP for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 10:57:49 -0400 Received: from grinta.net ([109.74.203.128]:53844) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKjjm-0002up-AZ for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 10:57:48 -0400 Received: from black.local (unknown [37.120.217.165]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id 014F1EBDB0 for ; Tue, 22 Sep 2020 14:57:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1600786663; bh=Oszm/I5BRZpwkVwYB/ogI0QC0x9P5WXDK8ijbPlsu38=; h=To:From:Subject:Date:From; b=heia93d9mSrZFQXK5p9oYFBgtpfglChytOOVTVlTBMUJonh8D9HoDCKfAJFGSKg+m QUQo2FgZdAOW3LHcp4KF8zYyntuMPJvhvVoAel9dpe3mE3sXICDHjzpoqoWe3tKp3c jwL71TQ8TgN0/s8Z2jTVmiRzioEkRZgg7RnK8Ii5oRqTM4rB8ofKPXCR962fA9XQ1+ DodOCiw6oArXXCg5wKCxnoQHmGLAzOgg7tx0UA/UEI2B9EIt31fFX3VGtqY3mk8wrO PgfuKR2K+9Uez9k0v+B+Fl9/V0WM4l79KsktuunIOlCCV2VjV8JTs0S4IuK7q/4W0q aEZBJHQQplmuQ== To: emacs-orgmode@gnu.org From: Daniele Nicolodi Subject: org-tables with monetary amounts Message-ID: <3444a52f-36a7-6e9d-46b9-272dddc7a3ef@grinta.net> Date: Tue, 22 Sep 2020 16:57:42 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 10:57:43 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=grinta.net header.s=2020 header.b=heia93d9; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: iwawYXTc17AP Hello, I often use org-tables to work with monetary amounts. It would be very nice to have a couple of functionalities common in this domain: - fixed precision arithmetic, namely derive the precision of the results from the precision of the arguments (I think that calc can do this), - support for parsing numbers followed by currencies, - correct alignment for monetary values. I had a quick look around, but I haven't found anything that implements those things. Has anyone some secret code that they would like to share? Thank you! Cheers, Dan