youjinp / SwiftUIKit

A collection of missing SwiftUI components
MIT License
277 stars 32 forks source link

CurrencyTextField should use decimal rather than double #23

Open bcyng opened 3 years ago

bcyng commented 3 years ago

given this is dealing with financial data should really use Decimal to ensure no loss of precision for large values or for currencies that commonly use large values eg. yen, Indonesian rupiah etc.