From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id mPTVARrTN2a0/gAA62LTzQ:P1 (envelope-from ) for ; Sun, 05 May 2024 20:42:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mPTVARrTN2a0/gAA62LTzQ (envelope-from ) for ; Sun, 05 May 2024 20:42:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=verizon.net header.s=a2048 header.b=BC1gB7do; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=verizon.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714934554; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=blG6ldO9gU37KSgYXEqPr4jazB5N/wC63Y+Akb+ZK3w=; b=gfEqVTrXc/zsk7HFvT6mcgwzImnav9XzurE2h1x2VUDDeU7VNlloglngkGqtl9twpldjye LBgdKDrita8a9NubJeyubjcWhtnPE8JEpUlmFCgiEhWIdLF6JM3g+Jd2fDSpWv9xyNlYj2 rwWZvLeQ1TV92Ud//yLx7vGFz/OFATzq5SLrVUl2SJeBw62JyeerClzB2zrAoJ68My+KXX t3D+XBIeQbTb4c9ylrM6snwC2+mv6b00ZLqEm98QUVeRabOdqbWzG7F5NfFoSJGvG5ezMq mlB/Z2mxzEdeyAaNTJqQ77wlLlLTCSy2C+imGYyCrBjVma6ZIvgfzazGC/w5ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=verizon.net header.s=a2048 header.b=BC1gB7do; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=verizon.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714934554; a=rsa-sha256; cv=none; b=J0iYdEmriUnoZ9yPUBQP4JyGvJZJzQnAXbMWGQUopxaviG0ebHpYRRN1AIDZz5PLx7F1K9 G6FfL3z82URNYyLxvbep9OkQ9n3B0nh3jBc2zcJfFDtUf/JAK4meKISnCKpA/oR6s5UfGq tQFclet4SExO3Us8uEN8Ax8UBOIrtYP15VlcXGKTTN5F+XVJNPBDk8iaNxU1zheu6t9Niv Ew7TtMhri/ioQ5EpgnajeefsvWIKrP3a9KvkOPI8dDEdlBTRzhH+iWYGxP6xnLADdC0BC0 v4EGA5jmovhKrmgh2KxIxWZB021lsOynOGqUCuVBD1W7jugM7vxTB7zp593nfA== 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 8974E689EA for ; Sun, 5 May 2024 20:42:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3go9-0006jt-9n; Sun, 05 May 2024 14:41:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3go6-0006iL-U4 for emacs-orgmode@gnu.org; Sun, 05 May 2024 14:41:55 -0400 Received: from sonic309-14.consmr.mail.bf2.yahoo.com ([74.6.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3go2-0000E9-Fh for emacs-orgmode@gnu.org; Sun, 05 May 2024 14:41:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1714934508; bh=blG6ldO9gU37KSgYXEqPr4jazB5N/wC63Y+Akb+ZK3w=; h=Date:Subject:From:To:References:In-Reply-To:From:Subject:Reply-To; b=BC1gB7dotyh0FKpRLQ/uXLp0wQ3QwvahHDpZC/8ZsSs2NoKOWOGxUHx1QiQLUAkNQMkoeUykWCAcaALzxa7MVTBnQ8LXoRV2H2mv+tWeZNeDw8lnTGQLCONO9YRouhb7RRzW97gQMTZU4hF95AdPuT5owG/o+F7boGVghei88Ie7YkkFJson/0yODVbUf/TVSiqxrznFPPv/1qGsjbWzUmmzlxFNV5Aby8q6UbCTyvQ94jDoGt8+MYdsAgCd7aqZ8hZ3PBybkIYmboQZ8tN+aKpI5+HJPybjif94CxqtXSl0eueGb6QZzwC+am2qvi6WSQHPuFRgGRaO+9cF9EDFTA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714934508; bh=B6uh+Gy67ubUjJPpyko5G3O9qEfOkcuTkKNPP2W5Ihf=; h=X-Sonic-MF:Date:Subject:From:To:From:Subject; b=YlTLu3suZ0VP8gBE0WJtMM/Uggt6zAeCCbn/ytEF6aWudV/z3p1yHRmyOBLlEfhMIbGPSyMzpp26RRf3vpJ0eGM7DnAOQx6u4sij3VfW1fk3IvPZK1l9eW59BpfX6EzXZmyuq+zmwfDOxMCnIoDeluUwr1Jgo0Uj3ebO+0BQE5AnLJkWblgynDZMWsrdzvcrRAIOPJlrLIOZhNHm46WYg3uAWfl0knzebNMAzpn8Qcpglz/ViKw40W2IFI9iFdg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KAISm346Ro3_LD0_2IiJr94GhGE8OQr3IGm9D3JMXcgIbk2WdsjVSdY89KV1OGXmA. SR_09BgbcqHlUc8NVWi5ADEEUeB9HgRmEyLDQWWX9Pt1JviLNnYiz0Qai4Xdkah6AcVURrZ9qplL pvshAW7xj.hQqlmojFS6Z6MXISnDYuxLo2fkGcNWzNrknOpAUUNFuwrNrIX551TIfIWuXDZ8E8y. 5eGwdr9f_4oNXOYA5XbZHPnOb14XEUKJaW6hWU29sCfPo0UFyfxyh_ks- X-Sonic-MF: X-Sonic-ID: b989152d-820d-4fd3-a5c9-d47a306212dc Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Sun, 5 May 2024 18:41:48 +0000 Received: by hermes--production-bf1-5cc9fc94c8-5dxlh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 39fcd052963f9953669833382b234f14; Sun, 05 May 2024 18:41:46 +0000 (UTC) Message-ID: <6102485d-b58f-4740-abf9-f2af64e7a36e@verizon.net> Date: Sun, 5 May 2024 14:41:45 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bug: Final zero after decimal point is stripped when inline code evaluated From: Charles Millar To: "emacs-orgmode@gnu.org" References: <144951b9-d715-4fd6-a3f5-2462ff98acb0.ref@verizon.net> <144951b9-d715-4fd6-a3f5-2462ff98acb0@verizon.net> Content-Language: en-US In-Reply-To: <144951b9-d715-4fd6-a3f5-2462ff98acb0@verizon.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.22256 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.129.124; envelope-from=millarc@verizon.net; helo=sonic309-14.consmr.mail.bf2.yahoo.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.81 X-Spam-Score: -10.81 X-Migadu-Queue-Id: 8974E689EA X-Migadu-Scanner: mx13.migadu.com X-TUID: vCe51y2tviz/ Forgot to include that i also used the numprint package. On 5/5/24 2:30 PM, Charles Millar wrote: > Please note that in the second src_latex the zero is stripped from the > results. The final zero is required for my purposes, i.e. dollars and > cents. This occurs in both results and on export to pdflatex, > > Does org's evaluation cause this or does latex? I have attempted to use > the siunutx and currency packages.as follows, > > #+NAME: TABLE2 > |22578.60| > > src_latex[:var printthis=TABLE2[-1,-1] :eval yes :results replace > :exports results]{\num{printthis}} {{{results(@@latex:\num{22578.6}@@)}}} > > src_latex[:var printthis=TABLE2[-1,-1] :eval yes :results scalar > :results replace :exports > results]{\num[round-precision=2,round-mode=places,round-pad = > false]{printthis}} {{{results(@@latex:\num{22578.6}@@)}}} > > src_latex[:var printthis=TABLE2[-1,-1] :eval yes :results replace > :exports results]{\vUSD{printthis}} {{{results(@@latex:\vUSD{22578.6}@@)}}} > (I also tried \dUSA and \cUSA) > > On the other hand this has no problem: > > #+NAME: TABLE1 > |22578.59 | > > src_latex[:var printthis=TABLE1[-1,-1] :eval yes :results replace > :exports results]{\num{printthis}} {{{results(@@latex:\num{22578.59}@@)}}} > > The missing zero is important - the result is supposed to be dollars and > cents. > > Org mode version 9.7-pre (release_9.6.27-1391-gba7475 @ > /usr/local/share/org-mode/lisp/) > > GNU Emacs 30.0.50 (build 100, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, > cairo version 1.16.0) of 2024-04-27 >