New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is 0 formatted as +0? #78
Comments
I tend to disagree as you are forcing the sign to be displayed 😄 |
How would I then configure to only display a + for 'real' positive numbers (not 0 :-)) |
I have no idea 😛 |
Haha :-) |
I'm going to take a stab at this. |
Zero values should not show up as positively formatted values when using '+'. Added test for 0 and '+'. Fixes BenjaminVanRyseghemGH-78.
Thanks! I guess this will be part of 1.5.1? |
@marceloverdijk indeed I will see if I can update today 😉 |
Would be great 👍 |
In numbro 1.5.1 |
Created issue on CDNJS to publish there: cdnjs/cdnjs#5307 |
good 😄 but 1.5.0 is not in CDNjs, there is like 7 versions missing there 🐼 |
https://cdnjs.cloudflare.com/ajax/libs/numbro/1.5.0/numbro.min.js seems to work... |
good to know ;) |
The last one I would expect just
0
without a+
prefixed.The text was updated successfully, but these errors were encountered: