public static boolean isDecimalType(Class<?> cls) {

        if (cls.equals(byte.class) || cls.equals(Byte.class)) {
            return true;
        } else if (cls.equals(short.class) || cls.equals(Short.class)) {
            return true;
        } else if (cls.equals(int.class) || cls.equals(Integer.class)) {
            return true;
        } else if (cls.equals(long.class) || cls.equals(Long.class)) {
            return true;
        } else {
            return false;
        }
    }