It has come to my attention that in the United States, large numbers are often formatted with a comma between thousands, like so: $1,000,000.00
. Here in South Africa, using a comma as a thousands separator is not standard practice, as it is more commonly used as a decimal point in place of the period.
Therefore, we tend to write large numbers without the comma, which can make them difficult to read, such as: $1000000.00
. A common workaround is to insert spaces for better readability, like this: $1 000 000.00
.
However, even with the added spaces, the formatting can still appear unattractive.
I have been pondering a solution that involves using CSS to adjust the spacing between characters in certain elements where currency values are displayed, even if they end in .00. I would prefer to avoid using JavaScript if possible, but I am starting to wonder if that may be necessary...
Is it feasible to manipulate character spacing in this way with CSS? What would be the most effective solution to improve the appearance of large numbers on a webpage?