ctdbCurrencyToBigInt
Convert a CTCURRENCY value to a big integer value.
Declaration
CTDBRET ctdbCurrencyToBigInt(CTCURRENCY currency, pCTBIGIND pValue)
Description
ctdbCurrencyToBigInt() converts a CTCURRENCY (8 bytes signed integer) value to a big integer (8 bytes signed integer) value. Use ctdbBigIntToCurrency() to convert from a big integer (CTBIGINT) value to a CTCURRENCY value. Use ctdbCurrencyToLong() to convert from CTCURRENCY to a CTSIGNED (4 bytes signed integer).
Returns
ctdbCurrencyToBigInt() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible error associated with ctdbCurrencyToBigInt() is:
See also
ctdbBigIntToCurrency()