-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
spaceSeparated is not working - version 2.0.5 #411
Comments
It is working on percentages though. |
I have the same issue on the latest version, currently 2.3.0. Any chance to get this fixed? |
in 2.3.1 |
@all-contributors please add @RichColours for bug |
I've put up a pull request to add @RichColours! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same symptoms as on your main webpage:
https://numbrojs.com/format.html#bytes
the spaceSeparated is not doing anything.
In my particular issue:
const size = numbro(x.sizeBytes).format({
spaceSeparated: true,
output: "byte",
base: "decimal",
mantissa: 1
});
(apologies, GitHub's 'code' delimiter is Javascript's third type of string literal with escaping operator.
My output string is:
The text was updated successfully, but these errors were encountered: