It depends on the culture and culture. The CLDR data contains a βlistβ element t that defines the list separator character, and this is a semicolon for most cultures, see the numeric character diagram (list element). However, the definition is very implicit, and there are differences within the locales. Some people find 1.25, 1.5, 1.75 acceptable, while others prefer 1.25; 1.5; 1.75. There are also people who seriously think that in a strongly mathematical or numerical context, one should deviate from the practice of the locale and use Anglo-Saxon notation with a decimal point, therefore with a semicolon as a separator.
On the practical side, I think it would not be very wrong to use ";" as a separator of lists of numbers when using a decimal point or even when using a decimal point. So you can even consider using ";" in all locales.
But when it comes to user input, it is more complicated. In principle, you are free to accept, but since the comma can be a decimal point, thousands separator, or list separator, there is such a thing as too liberal.
If possible, request each number separately, avoiding the delimiter problem. If this is not possible, it is imperative to make the very, very expected use of the separator very clear. I would say that requiring a semicolon ";" this is the most reliable thing.
source share