public static BigDecimal getBigDecimal(final String title, final BigDecimal defaultValue) {
        BigDecimal opt = null;

        do {
            try {
                final String val = ConsoleMenu.getString(title + " (default:" + defaultValue + ")", null);
                if (val.length() == 0) {
                    opt = defaultValue;
                } else {
                    opt = new BigDecimal(val);
                }
            } catch (final NumberFormatException e) {
                opt = null;
            }
        } while (opt == null && defaultValue != null);

        return opt;
    }