javascript-number-formatter icon indicating copy to clipboard operation
javascript-number-formatter copied to clipboard

Incorrect formatting when using #,##0 format

Open sergiocapozzi77 opened this issue 4 years ago • 0 comments

Hi, I'ma having a problem using the formatter: #,##0

In C#: string.Format("{0:#,##0}", 0) ---> 0 string.Format("{0:#,##0}", 68) ---> 68

In the library: format('#,##0', 0) ---> ,000 format('#,##0', 68) ---> 68,000

sergiocapozzi77 avatar May 14 '21 14:05 sergiocapozzi77