• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Thousands Place Seperator And Decimal Points

Started by Frederick J. Harris, March 10, 2016, 03:05:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Frederick J. Harris

How do you seperate thousands places in large numbers in France and elsewhere in Europe Patrice?  In the US we use commas ',' to seperate thousands places, an '.' to seperate decimals, that is....

123,456,789.25

I seem to recall in Europe that's reversed?

José Roca

Yes, it's reversed:

123.456.789,25

although French and others sometimes use an space:

123 456 789,25

Frederick J. Harris

Thanks Jose!  OK.  Good!  That's what I thought. 

Does PowerBASIC have - what I think is called 'locale' support?  In other words, when you do this in your PowerBASIC version installed in Europe....

Local pi As Double
pi=3.14159
Con.Print pi

Do you get this...

3,14159

or this...

3.14159

??

José Roca


Patrice Terrier

Yes, José's answer for french is perfect.  :)

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com