Copy a DBMONEY4 value.
RETCODE dbmny4copy(dbproc, src, dest) DBPROCESS *dbproc; DBMONEY4 *src; DBMONEY4 *dest;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and the server.
This parameter may be NULL. The DBPROCESS is used as a parameter to an application’s error handler. It also contains information on what language to print error messages in. If a DBPROCESS is not supplied, the default national language is used.
A pointer to the source DBMONEY4 value.
A pointer to the destination DBMONEY4 variable.
SUCCEED or FAIL.
dbmny4copy returns FAIL if either src or dest is NULL.
dbmny4copy copies the src DBMONEY4 value to the dest DBMONEY4 variable.
The range of legal DBMONEY4 values is from -$214,748.3648 to $214,748.3647. DBMONEY4 values have a precision of one ten-thousandth of a dollar.