[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange Number Format
[Thread Prev] | [Thread Next]
- Subject: Re: Strange Number Format
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Mon, 24 Aug 2026 11:41:51 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 22/08/2026 à 14:47, Claus Dietrich a écrit :
Question: Why does System.Language = "de_CH.utf8" Print Format(1234567.89, "$,##0.00") deliver 1_234_567.89 ?It happens with the master as well with 3.22.0 on Linux Mint 22.0 Cinnamon. The Swiss language package is fully installed.The cli command LC_NUMERIC=de_CH.UTF-8 printf "%'.2f\n" 1234567.89 correctly delivers 1’234’567.89 Is this a bug ? A good weekend to all and best regards Claus
It's sort of a bug. At the moment, the interpreter only accepts ASCII characters as thousand separator, and use '_' when the separator is an UTF-8 character.
I will try to fix that... -- Benoît Minisini.
| Re: Strange Number Format | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Strange Number Format | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |