Is it possible to format numbers with CSS? That is: decimal places, decimal separator, thousands separator, etc.
Unfortunately, it's not possible with CSS currently, but you can use Number.prototype.toLocaleString()
. It can also format for other number formats, e.g. latin, arabic, etc.