Open iromeo opened 5 years ago
Better to fix rendering in overlap
Bug is in 3-rd party library:rapaio.graphics.base.Wilkinson.getList()
in list.add(Double.valueOf(String.format("%." + Math.abs(digits) + "f", i)));
Double.valueOf(..) expects only '.' as separator, but in russion locale it will be ','
Double.valueOf(String.format("%.4f", 0.123445))
Should be instead:
NumberFormat.getInstance().parse(String.format("%.4f", 0.123445)).doubleValue()
E.g.: NumberFormat.getInstance(Locale.FRANCE).parse(String.format("%.4f", 0.123445)).doubleValue()
works ok with "," as fract separator
Workaround applied to code and already work in #4787.
Next - check rapaio
library if the fix is available and works.
Should we recheck it once again?
Due to non-US local and "0,0" like string parsing. Example file:
Workaround: Add into
jbr.l4j.ini
-Duser.language=en -Duser.country=US