[Gambas-user] Gambas_0.96 VAL()

Benoit Minisini gambas at ...1...
Sat Aug 7 12:28:29 CEST 2004


On Friday 06 August 2004 22:25, Bodard Fabien wrote:
> Le vendredi 6 Août 2004 14:27, Benoit Minisini a écrit :
> > 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,
>
> Do you think it can be a problem to share program ? , benoit
>
> If i work with  Val("1,1") And other man work with  Val("1.1")
>

Then it means that you are working with two different localizations. It is not 
a problem, it is a essential feature!

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




More information about the User mailing list