[Gambas-user] Two small(ish) errors in Format$
Benoît Minisini
gambas at ...1...
Fri Jun 29 01:10:27 CEST 2012
Le 27/06/2012 06:54, Bruce a écrit :
> a) AM/PM indicator is in the wrong position
> Print Format(Now(), "h:nAM/PM") --> 2:PM18
> Print Format(Now(), "h:n:sAM/PM") --> 2:18:PM0
>
Fixed in revision #4870.
> b) Currency abbrev ($$)
> In the help, it says:
>
> PRINT Format$(-1972.06, "($$,#.###)")
> (USD 1,972.06)
>
> Note the space after USD. However, when I run it I get
>
> (AUD1,972.06)
>
> No space!
>
This is not a bug actually, as some localization ask for a space after
the currency, and some not.
But I admit it is weird... Maybe I should ignore that and always put a
space when using '$$'?
--
Benoît Minisini
More information about the User
mailing list