Force point (“.”) as decimal separator in java

I currently use the following code to print a double: return String.format(“%.2f”, someDouble); This works well, except that Java uses my Locale’s decimal separator (a comma) while I would like to …