XLL+ Class Library (6.3)

CXlOper::ToDouble

Retrieves a numeric value from the CXlOper

double ToDouble(
   bool bStrict = FALSE
) const;

Parameters

bStrict

If bStrict is false (the default) then, if the CXlOper does not contain a double, the function will safely return an appropriate converted double (0 for blanks).

If bStrict is true then the function will throw an exception of type CXlConversionException unless the CXlOper contains a double.

Return Value

This function returns the double value contained in a CXlOper.

Examples

CXlOper::ToDouble() Example | MySum Example

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods