I would expect that
var decimal = DecimalFormat.getInstance(locale).parse(number);
yields a ParseException when the locale is de_DE and the number is "3.2" as "." is not a valid separater for this Locale. Why is this? Wasn't the idea of a Locale that all these formatting questions are handled in a standardised way?