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 ELKuL4fQN2YzNgEA62LTzQ:P1 (envelope-from ) for ; Sun, 05 May 2024 20:31:35 +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 ELKuL4fQN2YzNgEA62LTzQ (envelope-from ) for ; Sun, 05 May 2024 20:31:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=verizon.net header.s=a2048 header.b=n3w8CUyr; 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=1714933895; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vUmSrnYlnEA2mEFAlMxWcat0tlHfCXvPgxSBfX/gTMc=; b=QaBq7roUejo4Y4GaawCBMAW5WaAheOEEhNwpJgqJNIXrUsDkwC69ERJ35oKNPp0Tw1/6bP tPsOudncAZOnFxcwMrHG6Oz6wZ+HmLJz+fbdwWz1y9DpvGBZ65Mewudc6MglPJMuNhI4fM K05vNExoAqP/d4+hnwce2c5rUf7C0BHIXyY6ffdq4t28i9j6t8wZk9obm92GIt9Kzkbg37 o9kw7LDUVjIicwPcwxOTTnkhqNhzdITdW9Jw9uQGQ8mVEIhW7ih7ayOcITq7eLoTFe8E4Y uYz1QMvzTC/K06yrX0rRKn4A5wXbbWCHO7SbU+m/voIqL8xjz39vTwq7vPX4yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=verizon.net header.s=a2048 header.b=n3w8CUyr; 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=1714933895; a=rsa-sha256; cv=none; b=E16va/npOgtwwU43J8XVjLoBQEDl8sTrLuulQy/nptfHNjyZyQMYnqlr1VE/t3epu3Wslr F+KpS9apstK5cZafkaSPTuveuKFZ1YH4BCZtM59O2GUa+zuIaiXXw/5C2ElGe+lFVK9gRB dxYiWny6rfAbRL+TejZqcJzzWoLOzH7UFMB8UaiEYIVL+rQZZUaDSccfCW3tQ30pDsS3YH aTXTOfvrsYUfIz7Szl3yCIETbe0aonBk8yjucAI2o9PA1W9kLjyEm3YTlzd4TGQSC/3yju rKhb+svT1S9XjNQ8lJyZhX2LhSt8rS3s9hgjcjlXmeuzGzbpWtXEiRRqcqCRgw== 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 D6B4A67039 for ; Sun, 5 May 2024 20:31:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3gdJ-0003DS-UL; Sun, 05 May 2024 14:30:56 -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 1s3gdE-0003Cw-Pw for emacs-orgmode@gnu.org; Sun, 05 May 2024 14:30:42 -0400 Received: from sonic315-13.consmr.mail.bf2.yahoo.com ([74.6.134.123]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3gdB-0005X1-DF for emacs-orgmode@gnu.org; Sun, 05 May 2024 14:30:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1714933831; bh=vUmSrnYlnEA2mEFAlMxWcat0tlHfCXvPgxSBfX/gTMc=; h=Date:From:Subject:To:References:From:Subject:Reply-To; b=n3w8CUyr3PcquvkienmjaYfoPbvJtLbv9QX+madn8hG8ggJGQIWjbLbk+S2REW1ujC0rUWypdaWRIvTi4YxsUpknjFOxzTpqFhSM3LckiR1zu5zEvRjQKC26GVK8rAK7ZcruByWkENMijt97bTs1Xi0MHuf/sqF7cmWqiAlWopwqT6F7D+xsGacvgkv/iFhSei2u1igWZUH6/2bDaCTP97o0E5z101IlLwaVzQSsT1XhGrVpfP5SZcAmtyM6enmS5m5Ybg29x2hCNn/Gl53mOh8eyaNtB5Y/aVjVYbluWGDmgOLrr8x0fdzBm20NKzH4y5bK7XA/iCtsujXxyYRplQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714933831; bh=Tvf6zIwzeEFSKCOxwKkRZnuRw6iNhuKXDLGvmgfGFm+=; h=X-Sonic-MF:Date:From:Subject:To:From:Subject; b=nHrr7m/o0/ga8iP0iahFIoJHVYmbeyuGKQ2p+JK0yCIcGXdqJ8kS34LHVdO2v0ReXp7XnvwPGeBVKga88eOvEW1x85NFB1kaOgaL6c0vuTj2/BfJc10FIq0P2t7Dpg8SBIyVeA7afIyLLXlbGwV49gu35zgmaMM0KQkEmXIUXb+HdJNdOzuC+fQKGFeajbYpbxa9BhMp2wlK6fOwjg6jhv1qBmx1V+6W/z0GS5BQgLwSXlaZQmOLn1UC2uiUZPqcYqhr1IGYD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IWOHKawq O5Jn4H6UOXImh7Kw42.JkpPILKF5Kr5N2HjSuCfVE.xjOvRTwPFGVF6OD6Gbf7ia4uNwvXCQ9gi9 nZd9VXAaOnDpBno4D4WAJ.Qp73QPtvUqeGOqTBzOcapGJ6rVB9oBGIvANta6XbprYOOKyUq85Ke6 h8lVyXlYQcrgjwLny.SPfGp4SLl3YverDm3esG18SdI4nOEgB_nKoY9Be2Sr.cXkKvYHVPboaWBo ybuNtjxF.14VNUmTJRMXp_ECOpZpEdRSJBJEE2Mcdd8fkOfbc X-Sonic-MF: X-Sonic-ID: 660229bc-79cc-4c9c-a4b9-a0a2e94e491f Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Sun, 5 May 2024 18:30:31 +0000 Received: by hermes--production-bf1-5cc9fc94c8-2vdn9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9c086a6ef77bc6ea245151915cd79332; Sun, 05 May 2024 18:30:26 +0000 (UTC) Message-ID: <144951b9-d715-4fd6-a3f5-2462ff98acb0@verizon.net> Date: Sun, 5 May 2024 14:30:24 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Charles Millar Subject: Bug: Final zero after decimal point is stripped when inline code evaluated To: "emacs-orgmode@gnu.org" Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit References: <144951b9-d715-4fd6-a3f5-2462ff98acb0.ref@verizon.net> 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.134.123; envelope-from=millarc@verizon.net; helo=sonic315-13.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.71 X-Spam-Score: -10.71 X-Migadu-Queue-Id: D6B4A67039 X-Migadu-Scanner: mx13.migadu.com X-TUID: vuNfoybmniiZ 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