Function _parnd() Foundation
Returns the value of a numeric parameter as a floating point number.
DOUBLE _parnd(XppParamList pList, ULONG ulIndex, ...);
Returns a double value. When the parameter does not contain a numeric value, NULL is returned.
_parnd() is used to read a numeric value from a parameter.
/*
Reads a numeric value from a parameter.
*/
#include <xpppar.h>
double numDouble;
/* Is parameter 5 a numeric value? */
if ( XPP_IS_NUM( _partype(<pList>, 5) ) )
{
numDouble = _parnd(<pList>, 5);
}
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.