Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do Europeans write a list of numbers with decimals?

As I understand it, Europeans(*) write numbers with a comma for a decimal separator, so one-and-a-quarter is written as 1,25

Europeans also use commas to separate lists, so how do you write a list of decimal numbers? I, as an Englishman, would write one-and-a-quarter, one-and-a-half, one-and-three-quarters like this:

1.25, 1.5, 1.75

How do you do that in Europe?

(Why is this a programming question? Because I'm writing a program that will ask European users for a list of numbers!)

* For the purposes of this question, there are no English-speaking countries in Europe. :-)

like image 287
RichieHindle Avatar asked Jun 19 '12 15:06

RichieHindle


People also ask

How do people in Europe write decimals?

In the United States, decimals are notated with periods (for example, 1.23), whereas most of Europe uses decimal commas (1,23).

Do euros use commas instead of decimals?

Europe. The majority of European countries use the decimal comma. Among them are Spain, France, Norway, the Czech Republic, Denmark, and more. However, it's important to note that the United Kingdom is an exception because they tend to follow the Imperial System, which uses the decimal point.

How do Germans use decimals?

For Dezimalzahlen ("decimal numbers"), Germans use das Komma ("a comma"), not a decimal point: 0.638 = 0,638 (null Komma sechs drei acht) 1.08 = 1,08 (eins Komma null acht)


1 Answers

I'm European (french), and in almost all programs here we have to use semicolons ';' as a separator, even if the numbers are only integers because the comma doesn't look like a separator for us. In mathematics, semicolons are the only right way here to separate a list of numbers.

The most common example is when we have to enter the page numbers we want to print on a PDF, all programs ask for a semicolon-separated list and I clearly found it intuitive. I think they would have changed it if it was uncomfortable for some.

like image 144
Dalmas Avatar answered Oct 10 '22 05:10

Dalmas