[Gambas-user] Two small(ish) errors in Format$

Bruce bbruen at ...2308...
Wed Jun 27 06:54:30 CEST 2012


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

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!

Would others confirm please.
Bruce





More information about the User mailing list