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

Handling correctly %0.0f #1

Open
KingRial opened this issue May 5, 2014 · 0 comments
Open

Handling correctly %0.0f #1

KingRial opened this issue May 5, 2014 · 0 comments

Comments

@KingRial
Copy link

KingRial commented May 5, 2014

The schema "%0.0f" is not handled correctly

The switch case on line 170 should check if flags['precision'] is undefined or it will always use 6 ( instead of the 0 ) to decide how manu decimal number show.

Example:
var digits = typeof flags['precision'] != 'undefined' ? flags['precision'] : 6;

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

1 participant