[Gambas-user] Gambas Playground language question

Gianluigi bagonergi at gmail.com
Tue Jul 30 13:41:07 CEST 2019

If I try to write this code in Gambas Playground:
  Print Format(1234.54643, gb.Currency)
I get:
 1 234.54643
instead of $1,234.55 how it should be.

If I try this:
  System.Language = "en_US.UTF-8"
I get:
gbx3: warning: cannot switch to language 'en_US.UTF-8': No such file or
directory. Did you install the corresponding locale packages?

But the result of this:
  Print Format(Now, gb.LongDate)
is correctly in English:
July Tuesday 30 2019

I don't understand on what language is based playground

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190730/4e391e5f/attachment.html>

More information about the User mailing list