So far I was formatting my doubles into Strings like this:
String(format:"%0.4f", rate)
Problem: the decimal separator is always . while in France for example we use ,
Then I used an NSNumberFormatter with numberStyle = .DecimalStyle but then I cannot choose the precision of 4 digits as I did before.
What are my solutions?
Thanks