Replaced € symbol with text for charset safety

This commit is contained in:
Shan Ruhhammer
2023-06-25 03:17:35 +02:00
parent 7c00e25e56
commit 8d9fa83cd7
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ public final class FormattingUtil {
* @return formatted price
*/
public static String formatEuro(final double amount) {
return String.format(Locale.GERMAN, "%,.2f", amount) + " ";
return String.format(Locale.GERMAN, "%,.2f", amount) + " Euro";
}
/**