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

wrong value after use toCurrencyString() with mantissaLength #61

Closed
carterAtFunNow opened this issue Sep 24, 2021 · 2 comments
Closed

Comments

@carterAtFunNow
Copy link

final test1 = 1000.00;
final test2 = 1000.50;

print(test1.toCurrencyString(mantissaLength: 0));
print(test2.toCurrencyString(mantissaLength: 0));

expect:

1,000
1,000

actual:

10,000
10,005
@caseyryan
Copy link
Owner

I'll check it

@caseyryan
Copy link
Owner

Fixed in 2.4.0

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