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

format error #657

Open
crazyair opened this issue Aug 8, 2022 · 3 comments
Open

format error #657

crazyair opened this issue Aug 8, 2022 · 3 comments

Comments

@crazyair
Copy link

crazyair commented Aug 8, 2022

console.log(Numbro('899798776786786').format({ thousandSeparated: true, mantissa: 2 }));
output
899,798,776,786,785.90

console.log(Numbro('99999999999999.99').format({ thousandSeparated: true, mantissa: 2 }));
output
99,999,999,999,999.98

@crazyair
Copy link
Author

@BenjaminVanRyseghem

@BenjaminVanRyseghem
Copy link
Owner

Screen Shot 2022-08-10 at 08 42 29

That's just how javascript works....

@crazyair
Copy link
Author

Screen Shot 2022-08-10 at 08 42 29

That's just how javascript works....
just string
image

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