wnumb icon indicating copy to clipboard operation
wnumb copied to clipboard

wNumb - JavaScript Number & Money formatting

Results 6 wnumb issues
Sort by recently updated
recently updated
newest added

Hi, I found your library to be extremely useful, except for one case that doesn't really have a solution without doing some hacky stuff that i hate. I need a...

I think your library deserves more attention, making it easy to navigate to this repo will help you get more stars!

In the documentation you have the following example: ``` var Format = wNumb({ prefix: '$', postfix: ',-', thousand: ',' }); Format.to ( '90000' ); => '$90,000,-' ``` Running it, instead...

var moneyWithDecimalMarks = wNumb({ thousand: '\'', }); 1234567890123456: 1'234'567'890'123'456 12345678901234567: 12'345'678'901'234'568 123456789012345678: 123'456'789'012'345'680 1234567890123456789: 1'234'567'890'123'456'800 The first one is still correct but adding more numbers results in strange effects.