-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
pad fails without separator when decimal places are zero #184
Comments
I think you want to use The filesize(1001, {precision: 3}); // 1.00 kB
filesize(1024, {precision: 3, base: 2}); // 1.00 KiB As described, the |
A However, if you don't want to use |
I need to always have 2 decimal places, for example
And this work when
|
This is fixed in 10.1.5 👍🏻 |
The 'pad' method doesn't work when the separator is not set and all decimal places are zero.
The text was updated successfully, but these errors were encountered: