[Gambas-user] Format$ for numbers

Gianluigi bagonergi at gmail.com
Tue Aug 7 16:22:10 CEST 2018


2018-08-07 16:08 GMT+02:00 Benoît Minisini <g4mba5 at gmail.com>:

> Le 07/08/2018 à 16:05, Gianluigi a écrit :
>
>> I confirm the bugs, for the separator of thousands, already reported on
>> Format$ (in French a space in German, Spanish and Italian an underscore
>> stroke), so I have the excuse to ask what form is correct:
>> This --> Print Format$(n, "#,###.#0")
>> Or this --> Print Format$(n, "#,#.#0")
>> Or...
>> Regards
>> Gianluigi
>>
>>
>>
>>
> Thousand separators are used as soon as there is a comma in the formatting
> string before the point, and at least one digit.
>
> Regards,
>
> --
> Benoît Minisini
>
>
Sorry my ignorance, but I did not understand the answer :-(
Attach example

Regards
Gianluigi


> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180807/36f01c04/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FormatTest-0.0.1.tar.gz
Type: application/gzip
Size: 11199 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180807/36f01c04/attachment-0001.gz>


More information about the User mailing list