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

Incorrect processing 0 decimals parameter #3

Closed
ycherniavskyi opened this issue May 12, 2020 · 1 comment
Closed

Incorrect processing 0 decimals parameter #3

ycherniavskyi opened this issue May 12, 2020 · 1 comment

Comments

@ycherniavskyi
Copy link

ycherniavskyi commented May 12, 2020

Current condition

const dm = decimals || 2

must be replaced with

const dm = decimals != null ? decimals : 2
@sainf sainf closed this as completed in 32f20e4 May 12, 2020
@sainf
Copy link
Owner

sainf commented May 12, 2020

Thank's for notice!

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