ctdbFloatToMoney
Converts a floating point value to a CTMONEY type
Declaration
CTDBRET ctdbFloatToMoney(CTFLOAT value, pCTMONEY pMoney)
Description
ctdbFloatToMoney() converts from a floating point number to CTMONEY. Use ctdbMoneyToFloat() to convert a CTMONEY value to a floating point number.
Returns
ctdbFloatToMoney() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible errors associated with ctdbFloatToMoney() are:
See also
ctdbMoneyToFloat()