You are viewing a single comment's thread. Return to all comments →
The Locale class has 3 constructors, (String language), (String language, String country), (String language, String country, String variant)
Since you only provided 1 string it called the (String language) constructor, which is why the symbol is incorrect
Seems like cookies are disabled on this browser, please enable them to open this website
Java Currency Formatter
You are viewing a single comment's thread. Return to all comments →
The Locale class has 3 constructors, (String language), (String language, String country), (String language, String country, String variant)
Since you only provided 1 string it called the (String language) constructor, which is why the symbol is incorrect