XLL+ Class Library

COper::operator double

Returns a numeric value

[C++]
operator double() const;

Return value

This function returns the value of a double contained in a COper, and tries to convert it to a double if the COper contains any other data type.

If the COper is missing, empty or not a double then the function returns 0.0.

Example

COper::operator double() Example

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods