XLL+ Class Library

CXlOper::ToDouble

Retrieves a numeric value from the CXlOper

[C++]
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 assert unless the CXlOper contains a double.

Return value

This function returns the double value contained in a CXlOper.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods