[Gambas-user] Gambas_0.96 VAL()

Benoit Minisini gambas at ...1...
Fri Aug 6 14:27:28 CEST 2004


On Friday 06 August 2004 14:13, Nicolas Marzoni wrote:
> I don't know if it's a change or an error; beacuse in my gambas_0.95 and
> older...I use VAL("1.1") and its return The Variant 1.1
> But now when a I use that; VAL("1.1"), its return NULL. And I saw that I
> have to use VAL("1,1")
>
> What I want to know if that is a change on Gambas or it is an error on my
> Gambas.
> I test that on  Fedora Core 1 and  Fedora Core 2 and return the same
> results.
>
> One more Time Thanks a lot.
>
> Nicolas Marzoni
> Mar del Plata, Argentina.
>

Val() uses the current system localization, i.e. the value of LANG, and LC_* 
environment variables to know if decimal numbers use a point or a comma.

So if you could check them to see if the result is correct...

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list