swiftui-currency-field
swiftui-currency-field copied to clipboard
Currencies with three or zero fraction digits
Most arabic currencies do not have two, but three fractional digits. And japanese Yen, south korean Won and some other currencies do not have fractions at all - only whole numbers.
See https://docs.adyen.com/development-resources/currency-codes
As far as I understand it, this is already supported.
However, you are not allowed to set fixed values in the NumberFormmater for "minimumFractionDigits" and "maximumFractionDigits".