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

toCurrencyString not working properly #105

Closed
igor00krnic opened this issue Nov 13, 2022 · 1 comment
Closed

toCurrencyString not working properly #105

igor00krnic opened this issue Nov 13, 2022 · 1 comment

Comments

@igor00krnic
Copy link

igor00krnic commented Nov 13, 2022

toCurrencyString seems to be not working properly in version 2.9.5.

`
double tmpDouble = 2.02;

String tmpDoubleFormatted = tmpDouble.toCurrencyString(
thousandSeparator: ThousandSeparator.Period,
mantissaLength: 2,
);

`

The value of tmpDoubleFormatted should be '2,02' but is '202,00'.

@caseyryan
Copy link
Owner

Thanks. Fixed in 2.9.6

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