|
From: | Max Nikulin |
Subject: | Re: Bug: Final zero after decimal point is stripped when inline code evaluated |
Date: | Tue, 7 May 2024 23:40:38 +0700 |
User-agent: | Mozilla Thunderbird |
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'.
[Prev in Thread] | Current Thread | [Next in Thread] |