danthorpe / Money

Swift value types for working with money & currency
MIT License
933 stars 91 forks source link

JPY() formats to 'JP¥123' instead of '¥123' #65

Open MartinP7r opened 7 years ago

MartinP7r commented 7 years ago

I was expecting the later as shown in your example, but somehow the output on my device is different.

danthorpe commented 7 years ago

Hi, can you tell me what the region of the device is? If the device's region/language is set to Japan, then the output will be ¥123, but if the region is somewhere else, then it will be explicit which yen is being displayed.

You can verify the behaviour of Foundation.Formatter for yourself outside of Money to check this.