Example
The following example returns the first and second parameters of a custom function as double-precision, floating-point values.
C++
Val1 = m_Spread.CFGetDoubleParam(1);
Val2 = m_Spread.CFGetDoubleParam(2);
Visual Basic
Val1 = fpSpread1.CFGetDoubleParam(1)
Val2 = fpSpread1.CFGetDoubleParam(2)