NAME

valtoval - convert to numeric value

SYNOPSIS

double cdbl(d)
double d;

float csng(f)
float f;

short cint(i)
short i;

DESCRIPTION

These functions are merely stubs which return their arguments.  The conversions they purport to perform actually occur just prior to the function call in the main BASIC program module.  The compiler determines that in order to pass the arguments to these functions, they must have the appropriate types.  Most BASIC functions do not have type restrictions although the C language is not so flexible.  Therefore in general the compiler provides for the conversion of types in order to pass arguments to library functions.  The degenerate condition of these functions is due to this compensatory facility of the compiler. 

These functions implement the BASIC CDBL, CSNG and CINT functions. 

SEE ALSO

cdbl(func), csng(func), cint(func)

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber