ctdbStringToCurrency
Convert a string value to a CTCURRENCY value.
Declaration
CTDBRET ctdbStringToCurrency(pTEXT pStr, pCTCURRENCY pCurrency)
Description
ctdbStringToCurrency() converts a string value to a CTCURRENCY (8 bytes signed integer) value. Use ctdbCurrencyToString() to convert from a CTCURRENCY value to a string.
Returns
ctdbStringToCurrency() returns CTDBRET_OK on success, or c-treeDB API C API error on failure.
The possible error associated with ctdbStringToCurrency() is:
See also
ctdbCurrencyToString()