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
Looks like setting fractionDigits to 0 breaks the result of value() call. These tests demonstrate the issue:
fractionDigits
value()
2K
20K
test('K abbr', () { expect(Numeral(20000).value(fractionDigits: 0), equals('20K')); });
200K
test('K abbr', () { expect(Numeral(200000).value(fractionDigits: 0), equals('200K')); });
2M
20M
test('M abbr', () { expect(Numeral(20000000).value(fractionDigits: 0), equals('20M')); });
The text was updated successfully, but these errors were encountered:
OK,I will release in the next version
Sorry, something went wrong.
86c8994
@aednlaxer Fixed in version 1.2.5
Awesome, thanks! 🎉
medz
No branches or pull requests
Looks like setting
fractionDigits
to 0 breaks the result ofvalue()
call. These tests demonstrate the issue:2K
, expected is20K
:2K
, expected is200K
:2M
, expected is20M
:The text was updated successfully, but these errors were encountered: