OK, that makes sense.
So, what is preferred method to make sure that given string (example
from textbox) is integer number?

Jussi


2010/3/6 Benoît Minisini <gam...@users.sourceforge.net>:
>> en_GB.UTF-8
>>
>> But is 1,2 = 12 right in any logic?
>> Also val("1,2,3") = 123
>>
>> Jussi
>>
>
> "," is considered as thousand separators, even if they are misplaced, and they
> are simply ignored.
>
> Maybe the interpreter should be more clever...
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to