* @return true iff last digit of x is even
     */
    public static boolean isEven(BigDecimal x) {
        String xString = x.toPlainString();
        String lastDigit_String = xString.substring(xString.length() - 1);
        int lastDigit_int = new Integer(lastDigit_String);
        return Generic_int.isEven(lastDigit_int);
    }