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'.

Reply via email to