Honoring locale settings when parsing decimal numbers

The big selling point of JBEE is its ability to handle the decimal separator based on the user's locale setting. Normally, the correct character is auto detected, but in special cases (e.g. client server applications), it may be necessary to override the default. To do so, simply construct the Evaluator with a custom DecimalFormat:


DecimalFormat df;
df = (DecimalFormat) DecimalFormat.getInstance(Locale.US);
Evaluator e = new Evaluator(df,null);