MikeMcl / decimal.js

An arbitrary-precision Decimal type for JavaScript
http://mikemcl.github.io/decimal.js
MIT License
6.35k stars 480 forks source link

thousands separators #190

Closed mjkhonline closed 2 years ago

mjkhonline commented 2 years ago

please add an internal thousands separators print out

MikeMcl commented 2 years ago

I don't understand what you mean. Please give an example.

mjkhonline commented 2 years ago

I mean a method which separates every 3 digits with a comma. e.g. 12345.6789 => "12,345.6789"

MikeMcl commented 2 years ago

See toFormat.