[Gambas-user] Format$ for numbers

Benoît Minisini g4mba5 at gmail.com
Tue Aug 7 16:39:43 CEST 2018


Le 07/08/2018 à 16:22, Gianluigi a écrit :
> 
>     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
> 

I mean that you can just write:

	Format(N, ",#")

To get thousand separators.

You don't have to write three "#" in the format string.

Regards,

-- 
Benoît Minisini


More information about the User mailing list