Is there a bug in confluence? I use this code in scriptrunner:
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 the one Confluence v7.1: 12.345,67 (CORRECT)
And on the other instance (v7.1 too): 12,345.67 (WRONG!)
Both have the same java locale. Whats wrong?
Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events