We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of always round to integer, if it can round to certain decimal place it will be great!
For example:
ms(60000, {decimal: 1 }) // "1m" ms(66000, {decimal: 1 }) // "1.1m" ms(-3 * 66000, { long: true, decimal: 1 }) // "-3.3 minutes" ms(234234234, { decimal: 2 }) // "2.71m" ms(ms('10.5 hours'), { long: true, decimal: 1 }) // "10.5 hours"
The text was updated successfully, but these errors were encountered:
how can i use that? as ms(66000, {decimal: 1 }) isn't working
Sorry, something went wrong.
No branches or pull requests
Instead of always round to integer, if it can round to certain decimal place it will be great!
For example:
The text was updated successfully, but these errors were encountered: