FairCom Corporation


4.3.51 ctdbCurrencyToString


Convert a CTCURRENCY value to a string value.

Declaration

CTDBRET ctdbCurrencyToString(CTCURRENCY currency, pTEXT pStr, VRLEN size)

Description

ctdbCurrencyToString converts a CTCURRENCY (8 bytes signed integer) value to a string value. Use ctdbStringToCurrency to convert from a string to a CTCURRENCY value.

Returns

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

The possible error associated with ctdbCurrencyToString is:

See also

ctdbStringToCurrency


FairCom Corporation
www.faircom.com