Skip to content
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

Negative number is not handled correctly . #462

Closed
bhartidengada opened this issue Mar 12, 2020 · 5 comments
Closed

Negative number is not handled correctly . #462

bhartidengada opened this issue Mar 12, 2020 · 5 comments

Comments

@bhartidengada
Copy link
Contributor

@bhartidengada bhartidengada commented Mar 12, 2020

For example:-
numbro(
-1.2
).format({
mantissa : 5, characteristic: 3
});
output :- 0-1.20000
but correct out should be -001.20000

@bhartidengada
Copy link
Contributor Author

@bhartidengada bhartidengada commented Mar 23, 2020

any suggestion for this issue. @BenjaminVanRyseghem

@BenjaminVanRyseghem
Copy link
Owner

@BenjaminVanRyseghem BenjaminVanRyseghem commented Mar 23, 2020

It's definitely a bug.

I will try to address it asap, but if you have any suggestion to fix it, PRs are welcomed 😄

@bhartidengada
Copy link
Contributor Author

@bhartidengada bhartidengada commented Mar 23, 2020

@BenjaminVanRyseghem
Copy link
Owner

@BenjaminVanRyseghem BenjaminVanRyseghem commented Mar 23, 2020

develop 😄

@BenjaminVanRyseghem
Copy link
Owner

@BenjaminVanRyseghem BenjaminVanRyseghem commented May 30, 2020

in numbro 2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants