Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Resolve #9 - Different Handling for Negative "-" and Positive "+" Signs #11
I've published, then unpublished the changes made by this PR because it was a breaking change (see #17)... I think it would be better to add this behavior behind an option. I just can't figure out what to name it.
I think it's weird to completely ignore the negative value here:
format("-#,##0.######", 5000.123456789); //=> 5,000.123457
Was this intended? What do you think the option should be named? Maybe
I would like to see this PR somehow re-implemented.
edit: Or maybe you could publish 1.1.12 to npm?
edit2: I realize now there is a whole discussion going on around this. I'll wait and see, then! :)