FairCom Corporation


4.3.46 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 c-treeDB C API error on failure.

The possible error associated with ctdbCurrencyToBigInt is:

See also

ctdbBigIntToCurrency


FairCom Corporation
www.faircom.com