[Gambas-user] number format

Leonardo Miliani leonardo at ...1237...
Sun Jan 27 23:25:05 CET 2008


Epíleg ha scritto:
> En/na Leonardo Miliani ha escrit:
>> Epíleg ha scritto:
>>> But in a France French locale:
>>>
>>> Val("1 234 567,89")  =>  1
>> Same for me with Italian locale.
>> I must first remove all the white spaces, then substitute the "," with
>> "." and than get the value of the number.
>>
> 
> Well, Italian case is different because, as Catalan and Spanish (Spain and others), the locale are not properly set, at least in my Ubuntu 7.10.
> 
> $ LANG=it_IT.UTF-8 locale -k LC_NUMERIC
> decimal_point=","
> thousands_sep=""
> grouping=-1;-1
> numeric-decimal-point-wc=44
> numeric-thousands-sep-wc=0
> numeric-codeset="UTF-8"
> 
> As You can see, there isn't set the thousands separator value.

Uhm... I didn't know about those settings....
How can I check them?

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...

Co-fondatore di Gambas-it.org: www.gambas-it.org
(il sito italiano dedicato alla comunità di Gambas)

Scegli software opensource - Choose opensource software




More information about the User mailing list