From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cBFxF71ZOmZUwQAA62LTzQ:P1 (envelope-from ) for ; Tue, 07 May 2024 18:41:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cBFxF71ZOmZUwQAA62LTzQ (envelope-from ) for ; Tue, 07 May 2024 18:41:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cld3E2ya; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715100093; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=10Ul+m93TewF70CsbBRearneRhITVwQdqe7ZykWokrU=; b=MIgznRDIdH362/4DWmoQzbeVicUpAJkGbhtWT070XjMmTW5K/QIwdCjb/ISMV/490Ygcvt /RaMK2prI1l7zI0mMQPf1+a6tCfs/wSx/rErwW3ijReBeSGKN+xlcOUzAQ8Go5ockoSh0+ 2ZQXiTU7B2QDdka/+5atemxWBoUIZcP5QF1FwZ9CVKnfN6mpECBNwNoGHoxr6I2snXvQ19 gKmV7DDXkBC+PPlxrWV26yWZ8JKrzVZlvIkY8ChiGlMk9/uYtJapXbQP9lrlYM4qHPS6Tw k3W/zDiOJveRR9Qu8Mk3bmrQauATgXguQXcaCiaZZKVSLqk0trvQBuLA7AQiAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cld3E2ya; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715100093; a=rsa-sha256; cv=none; b=HKgLSqgSoYhsjWJnbkf9sX6STiPxWPi3OcDgxlKmjMr1j/jGTrfwE1vhRvkyQPhug9TUnV Q6FcHkFI0Ac9qoynHijjdViL2dk7ex+Vs/OCsJswgC+sGZoQMEqLogz7p7rBYE9rgoVOIt 8pHi02aUTiUsF53E+y1k+R3RzJ+0CuDaShBxpsLpxX9/gMJX2ONJhAKCUtuhafSDBhv7QG 01vR/IL+cV15orADgWKY5PKpZPM8V8IMqHhgeOFBaqcO9uTVtm2VM1TVraT7WLc35I8iVJ uWfuvrBy3yORD5cExYcXKbYEKz1MdzTptbtmMlY51bbzQyar4ZiWAb8pJo+IDQ== 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 2A9B96C192 for ; Tue, 7 May 2024 18:41:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Ns2-0007HN-0k; Tue, 07 May 2024 12:40:50 -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 1s4Nry-0007FK-AE for emacs-orgmode@gnu.org; Tue, 07 May 2024 12:40:47 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4Nrw-0002eA-I1 for emacs-orgmode@gnu.org; Tue, 07 May 2024 12:40:45 -0400 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2e3e1ad0b19so16730041fa.0 for ; Tue, 07 May 2024 09:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715100041; x=1715704841; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=10Ul+m93TewF70CsbBRearneRhITVwQdqe7ZykWokrU=; b=cld3E2yayLHtbL6fyN5T7/ZGeJL37pzTJT3qymIXGoiegbifmqQvNde75umxLeAjjt Sf+L/2eM94jOPPAa8G1YkOvPncywSNu4nBYjuYinJ4z5yLyhhIbfXeHKk3/5Ek0o10TW Fp3NmcSyQynGSjpgFDQaPpNbd8yCMMWdZ9kUfgzBs/klX3J6VVf1N5FH7LA1bOEbpg5b 2kQCfkDY0doY5GWuZ73l9FszzuyEs/X5xrfwftelDYa42FlatWK5x/WTWpHkOjbDxQRP MuwtBu/PS7FG1qw+BR72f/z+nPrfsXQxdKiw9vzpDZjCWoF91ZBLl5mTFs4rQdjJBP0c CYfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715100041; x=1715704841; h=content-transfer-encoding:in-reply-to:mail-followup-to:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=10Ul+m93TewF70CsbBRearneRhITVwQdqe7ZykWokrU=; b=v6x0AKvnk3VmtnBPySqFVLfzD7L4g84BsA5drHMlysNSKZpJ2nqRdQTZ0/kGW0bghd 3AdBVatKPdqquL6JZlVS2ituXDCJLixN4/d6cVDQXSEsSr4fpPC7EXyVK+RsQ1QHLlP3 CtzqMNLZtAkR38Dbendv2p+UaiMxFkAZGzF3PKc72+KU3J5eNePefWYePKiK4qUt8Kai JOZNJB6jb6OTZ2M92gX0UJYX1bmKycNu9wP77IC/TiWqj306m+QYL1+BpJzd7uC9vZaS 5vMkqGsOomhRo+HBaZTFiqEpBiumRjKPQ66HixxO3mw1nVCQqsIhTn54vfSnEPmOG752 li6w== X-Gm-Message-State: AOJu0Ywy1dciEjnqwZ0lYRwIKwFbRjMMF3Eo589MJ1c7WGL/qGbZ4vVu ljuwO43fjc+LR/ZiaJQAGcWm9hUZCs1QaysVcUnGno2d2Pikg6zgyaQ08A== X-Google-Smtp-Source: AGHT+IH0sEgncmkvcKegErpZPrWSwmneGXGdvPMd9CkFn++qch86vcQ9siyq3G71U0nt08Lrni82dA== X-Received: by 2002:a05:6512:748:b0:51d:8b97:58d5 with SMTP id 2adb3069b0e04-5217cc45d25mr39806e87.49.1715100040762; Tue, 07 May 2024 09:40:40 -0700 (PDT) Received: from [192.168.0.102] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id i16-20020a056512341000b0051d67dfbbe9sm909113lfr.69.2024.05.07.09.40.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 May 2024 09:40:39 -0700 (PDT) Message-ID: Date: Tue, 7 May 2024 23:40:38 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bug: Final zero after decimal point is stripped when inline code evaluated To: Charles Millar References: <144951b9-d715-4fd6-a3f5-2462ff98acb0.ref@verizon.net> <144951b9-d715-4fd6-a3f5-2462ff98acb0@verizon.net> <87bk5jhzzi.fsf@localhost> <87v83q3n9r.fsf@localhost> <3eb4f551-ea60-4e56-b666-4430747c816f@verizon.net> Content-Language: en-US, ru-RU Cc: Org Mode List From: Max Nikulin Mail-Followup-To: Charles Millar , Org Mode List In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=manikulin@gmail.com; helo=mail-lj1-x231.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.62 X-Migadu-Queue-Id: 2A9B96C192 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 2.62 X-TUID: Fe1wKyvk/OMd On 07/05/2024 21:25, Charles Millar wrote: > On 5/7/24 7:49 AM, Max Nikulin wrote: >> On 07/05/2024 03:05, Charles Millar wrote: >> >>> (setq toconvert 5.000) >>> (number-to-string toconvert) >>> >>> evaluates to "5". >> >> I get "5.0" (Linux), so I suspect some mistake. >> > I am using Debian Testing, full upgrade as of last Saturday. Debian bookworm stable and Emacs-28.2. LANG, LC_NUMERIC, LC_ALL environment variable should not affect formatting in numbers in Emacs since the "C" locale is forced for numbers. The only guess I have is non-default value of `float-output-format'.