FairCom Corporation


4.3.47 ctdbCurrencyToFloat


Convert a CTCURRENCY value to a float value.

Declaration

CTDBRET ctdbCurrencyToFloat(CTCURRENCY currency, pCTFLOAT pValue)

Description

ctdbCurrencyToFloat converts a CTCURRENCY (8 bytes signed integer) value to a float value. Use ctdbFloatToCurrency to convert from a float to a CTCURRENCY value.

Returns

ctdbCurrencyToFloat returns CTDBRET_OK on success, or c-treeDB C API error on failure.

The possible error associated with ctdbCurrencyToFloat is:

See also

ctdbFloatToCurrency


FairCom Corporation
www.faircom.com