XLL+ Class Library

CXlOper::ToInt

Returns an integer value

[C++]
short int ToInt(
   BOOL bStrict = FALSE
) const;

Parameters

bStrict

If bStrict is FALSE (the default) then, if the CXlOper does not contain an integer value, the function will safely return an appropriate converted value.

If bStrict is TRUE then the function will assert unless the CXlOper contains an integer.

Return value

This function returns the integer value contained in a CXlOper.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods