// objDFS.setDecimalSeparator('.');
// objDFS.setGroupingSeparator(',');
// System.out.println("DecimalSeparator = " + objDFS.getDecimalSeparator());
// System.out.println("GroupingSeparator = " + objDFS.getGroupingSeparator());
// numberF.setParseBigDecimal(true);
final NumberFormat numberF = NumberFormat.getNumberInstance(Locale.GERMAN);
numberF.setGroupingUsed(false);
numberF.setParseIntegerOnly(false);
numberF.setMaximumFractionDigits(5);
numberF.setMinimumFractionDigits(0);
final Number number = numberF.parse(strT);
dblT = number instanceof Double ? number.doubleValue() : new Double(number.doubleValue());
}
catch (final ParseException e) {
try {
final NumberFormat numberF = NumberFormat.getNumberInstance(Locale.US);
numberF.setGroupingUsed(false);
numberF.setParseIntegerOnly(false);
final Number number = numberF.parse(strT);
dblT = number instanceof Double ? number.doubleValue() : new Double(number.doubleValue());
}
catch (final ParseException e1) {
e1.printStackTrace();
SignalError(conMethodName + ": could not convert '" + strT + "' to double");