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?
okay, now both systems on the same version (Confluence 7.1). But the same Problem.
Anybody an idea?
ok, Upgrade auf Confluence +7.1 fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what Confluence version are you using? 7.4 is not released. Latest is 7.2.1.
Best
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I mean: 7.0.4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.