SwiftUI TextField Localization
I have a TextField that displays a @String. I would like to ensure that the user only types numbers into the TextField and that the result is then localized, with commas, decimals, etc. per the current Locale. For example, if the Local is ‘de_DE’ then the text would display 123.456 or for ‘en_US’ it would be 123,456 .