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 asapNxyIal/wfwAA0tVLHw (envelope-from ) for ; Tue, 22 Sep 2020 23:26:20 +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 EP65MhyIal+sdQAAB5/wlQ (envelope-from ) for ; Tue, 22 Sep 2020 23:26:20 +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 C8C329400BF for ; Tue, 22 Sep 2020 23:26:19 +0000 (UTC) Received: from localhost ([::1]:55530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKrfu-00027N-I0 for larch@yhetil.org; Tue, 22 Sep 2020 19:26:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKrfF-00027A-Av for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 19:25:37 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:42153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKrfD-0005JW-L9 for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 19:25:37 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 555DF5C024A for ; Tue, 22 Sep 2020 19:25:33 -0400 (EDT) Received: from imap21 ([10.202.2.71]) by compute1.internal (MEProxy); Tue, 22 Sep 2020 19:25:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=79KrNn rwNufoaIPOu5jOzGonc2x26ZiDs4R/6Az3Kes=; b=d0cA+0dSQC+CRDJBYEFoId D8UavZo7XKlsP6vaFgXgiEI8LXiA80MeEEs8S7GMIOY2QxMFIhb2sk9dRi/7TY5v 9pUwXlUTPp+XzHijBRtG/mKmfFAF8I8shWOPo05707BU/mfoBDuq5/7KHQTxZ+j4 awrRkDwwZEg5VOoBdNygh5kOqq93j93HxMKHlTO36JNMRI0rwrpAkXZRnaEKPIRK vxo+hqRu3qN6T4n86JsvEE/mMKQor67o/Xcv2sYZYcJ333CPLi49TYTXtcVr/rfr njAYB2sgICN/iu7xC30EAmoGdWPiJnvgt2e+hu5+/ufJ7qa4q7gIgfFx6KFKjuBQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudehgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfpfhitghh ohhlrghsucfurghvrghgvgdfuceonhhitghksehnihgtkhhsrghvrghgvgdrtggrqeenuc ggtffrrghtthgvrhhnpefgiedvjeduueelueeuteehhedufeeftdeuhefgleeikedujedu veffteffhfdugfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehnihgtkhesnhhitghkshgrvhgrghgvrdgtrg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8FFA966006F; Tue, 22 Sep 2020 19:25:25 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-355-g3ece53b-fm-20200922.004-g3ece53b9 Mime-Version: 1.0 Message-Id: <54480832-5719-402e-86bc-b8ac7018cacb@www.fastmail.com> In-Reply-To: <3444a52f-36a7-6e9d-46b9-272dddc7a3ef@grinta.net> References: <3444a52f-36a7-6e9d-46b9-272dddc7a3ef@grinta.net> Date: Tue, 22 Sep 2020 19:25:12 -0400 From: "Nicholas Savage" To: "Emanuel Berg via General discussions about Org-mode." Subject: Re: org-tables with monetary amounts Content-Type: text/plain Received-SPF: none client-ip=66.111.4.25; envelope-from=nick@nicksavage.ca; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 19:25:33 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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=pass header.d=messagingengine.com header.s=fm3 header.b=d0cA+0dS; 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.20 X-TUID: qnO3JPApJYG8 I don't have anything to answer your questions, but I wanted to chime in that this is a feature I'd also like to exist, or find out more about if it already does exist. I'd be definitely willing to help out too code-wise to the extent I can. Thanks, Nick On Tue, Sep 22, 2020, at 10:57, Daniele Nicolodi wrote: > 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 > >