[Gambas-user] Gambas Playground language question

Charlie Ogier charlie at cogier.com
Tue Jul 30 14:59:59 CEST 2019


Hi Gianluigi,

Matt and I will look at this later on today. The Playground is a 
Gambas.one project.

Charlie

On 30/07/2019 12:41, Gianluigi wrote:
> 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
>
> Regards
> Gianluigi
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----

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


More information about the User mailing list