3 ms·
> Numbers with a dot or comma means it's decimal. But... It doesn't in IP addresses, version numbers, dates, with different locales, and possibly many other us
by kmarc 3y ago
> Numbers with a dot or comma means it's decimal.
But... It doesn't in IP addresses, version numbers, dates, with different locales, and possibly many other uses.
These examples clearly show that "numbers with a dot" doesn't always mean decimal.
A dot is a dot. Mainly with the _role_ of a separator. When you interpret it, it might mean a _decimal_ separator for you, but as well might mean a thousand-separator for MS excel with the German locale.