fixed java.lang.NumberFormatException when using decimal values with locales having a decimal separator other than "."