Double value = (Double)rs.row[numCol];
Double value = new Double(XSQLVAR.decodeDouble(rs.row[numCol]));
    short getShort() throws SQLException {        if (rs.row[numCol]==null) return SHORT_NULL_VALUE;        Double value = (Double)rs.row[numCol];        // check if value is withing bounds        if (value.doubleValue() > MAX_SHORT_VALUE ||            value.doubleValue() < MIN_SHORT_VALUE)                throw (SQLException)createException(                    SHORT_CONVERSION_ERROR+" "+value).fillInStackTrace();        return value.shortValue();    }