Double value = (Double)rs.row[numCol];
Double value = new Double(XSQLVAR.decodeDouble(rs.row[numCol]));
    int getInt() throws SQLException {        if (rs.row[numCol]==null) return INT_NULL_VALUE;        Double value = (Double)rs.row[numCol];        // check if value is withing bounds        if (value.doubleValue() > MAX_INT_VALUE ||            value.doubleValue() < MIN_INT_VALUE)                throw (SQLException)createException(                    INT_CONVERSION_ERROR+" "+value).fillInStackTrace();        return value.intValue();    }