4.3.48 ctdbCurrencyToLong
Convert a CTCURRENCY value to a LONG value.
Declaration
CTDBRET ctdbCurrencyToLong(CTCURRENCY currency, pCTSIGNED pValue)Description
ctdbCurrencyToLong converts a CTCURRENCY (8 bytes signed integer) value to a CTSGINED (4 bytes signed integer) value. Use ctdbLongToCurrency to convert from a LONG value to a CTCURRENCY value.
Returns
ctdbCurrencyToLong returns CTDBRET_OK on success, or c-treeDB C API error on failure.
The possible error associated with ctdbCurrencyToLong is:
See also
ctdbLongToCurrency
|
FairCom Corporation www.faircom.com |