public boolean isInteger() {
        return isNumeric() && getAsDecimal().stripTrailingZeros().scale() <= 0;
    }
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