flutter_money_formatter
flutter_money_formatter copied to clipboard
output.withoutFractionDigits doesn't give the expected result
Describe the bug FlutterMoneyFormatter(..).output.withoutFractionDigits doesn't give the expected result.
To Reproduce Steps to reproduce the behavior:
- Declare
FlutterMoneyFormatter( amount: 0, settings: MoneyFormatterSettings( thousandSeparator: '.', fractionDigits: 0))
as singleton - Execute the formatter :
moneyFormatter.copyWith( amount: double.parse("3435696689") ).output.withoutFractionDigits
- See the result
Expected behavior The result should be 3.435.696.689
Actual behavior Formatter returned 3