code: public static BigDecimal parseLocalized(final String _value) throws EFapsException
      {
          final DecimalFormat format = (DecimalFormat) NumberFormat.getInstance(Context.getThreadContext()
                          .getLocale());
          format.setParseBigDecimal(true);
          try {
              return (BigDecimal) format.parse(_value);
          } catch (final ParseException e) {
              throw new EFapsException(DecimalType.class, "ParseException", e);
          }
      }
docs: Method to parse a localized String to an BigDecimal.
  
  @param _value value to be parsed
  @return  BigDecimal
  @throws EFapsException on error