ctdbMoneyToLong
Convert a CTMONEY value to a LONG.
Declaration
CTDBRET ctdbMoneyToLong(CTMONEY money, pLONG pValue)
Description
ctdbMoneyToLong() converts a CTMONEY value to a LONG. The Fraction part of CTMONEY is discarded and only the integer part is assigned. Use ctdbLongToMoney() to convert from a LONG to CTMONEY.
Returns
ctdbMoneyToLong() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible error associated with ctdbMoneyToLong() is:
See also
ctdbLongToMoney()