CurrencyEditText
CurrencyEditText copied to clipboard
Bug for Persian, Arabic decimal character
In this line:
hasDecimalPoint = s.toString().contains(decimalFormatSymbols.decimalSeparator.toString())
It will check Persian, Arabic or any language specific decimals, but if developer used numeric keyboard decimal char will be "," or ".". So have to add these two characters as well.
SO if we set locale to Persian or Arabic locale from phone
resources.configuration.locales[0]
And enter 5.488
Result will be like this:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please open another issue if needed. Thank you for your contributions.