Function to convert String to formatted String as currency
formatted String as currency
String
Locale to define which Currency to use to format the String
used to replace , with . in the String