public boolean getAsBoolean() {
        //value is boolean if it is either numeric and > 0 or non-numeric and non-empty as a string
        if (isNumeric()) {
            return getAsDecimal().compareTo(BigDecimal.ZERO) > 0;
        }
        return StringUtils.isNotBlank(getAsString());
    }
Encapsulates a single value for handling in {@link Formula}. Provides e.g. type conversions.
<br>
Supports raw values of type String, CharSequence, Double, Long, BigInterger and BigDecimal
main/src/main/java/cgeo/geocaching/utils/formulas/Value.java