[Gambas-user] CStr - localization

Benoît Minisini gambas at ...1...
Sun Feb 9 11:38:07 CET 2003


Le Dimanche 9 Février 2003 11:15, Fabien BODARD a écrit :
> Le Dimanche 9 Février 2003 06:52, Jochen Georges a écrit :
> > hi gambasians,
> >
> > in the enceclopedeia stands:
> > CStr:
> > Converts an expression into a string.  Be careful, the current
> > localization is NOT used by this function.
> >
> >
> > what is the current localization?
> > what does that mean?
> >

For example, in American :

PRINT CStr(1.234)
1.234
PRINT Str$(1.234)
 1.234

And in French :

PRINT CStr(1.234)
1.234
PRINT Str$(1.234)
 1,234

Str$ uses the current application language stored in the LANG and LC_* 
environment variables.

CStr does not !

-- 
Benoît Minisini
mailto:gambas at ...1...




More information about the User mailing list