BigDecimal
constructor - like Double.parseDouble
, etc. - always uses '.' as a decimal separator. It does not use the current culture at all, and there is no way to specify the format of the number.
(It would be nice if it were clearly documented, though ...)
source share