Is there a bug in confluence? I use this code in scriptrunner:
import java.text.DecimalFormat
import java.text.NumberFormat
def locale = new Locale("de","DE"); //The same with Locale.GERMAN
double doubleValue = 12345.67d
DecimalFormat format = (DecimalFormat)NumberFormat.getNumberInstance(locale)
String formattedValue = format.format(doubleValue);
It returns on confluence 6.14.2: 12.345,67 (CORRECT)
And in Confluence 7.0.4: 12,345.67 (WRONG!)
Both have the same java locale. Whats wrong?