Author Topic: Thousands Place Seperator And Decimal Points  (Read 3124 times)

0 Members and 1 Guest are viewing this topic.

Offline Frederick J. Harris

  • Hero Member
  • *****
  • Posts: 914
  • User-Rate: +16/-0
    • Frederick J. Harris
Thousands Place Seperator And Decimal Points
« on: March 10, 2016, 03:05:37 PM »
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?

Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2485
  • User-Rate: +204/-0
Re: Thousands Place Seperator And Decimal Points
« Reply #1 on: March 10, 2016, 03:58:49 PM »
Yes, it's reversed:

123.456.789,25

although French and others sometimes use an space:

123 456 789,25

Offline Frederick J. Harris

  • Hero Member
  • *****
  • Posts: 914
  • User-Rate: +16/-0
    • Frederick J. Harris
Re: Thousands Place Seperator And Decimal Points
« Reply #2 on: March 10, 2016, 08:24:31 PM »
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

??

Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2485
  • User-Rate: +204/-0
Re: Thousands Place Seperator And Decimal Points
« Reply #3 on: March 10, 2016, 09:30:33 PM »
This

3.14159