Similar Question:
JavaScript Method for Separating Thousands
I'm looking to find a way to separate numbers by a thousand using JavaScript. For example, I would like to turn "1243234"
into "1 243 234"
, or "1000"
into "1 000"
and so on.
(sorry for any language errors=/)