ctdbNumberGetDecimal
Retrieve the number of digits before and after the decimal point.
Declaration
CTDBRET ctdbNumberGetDecimal(pCTNUMBER data, pNINT digit_before,
pNINT digit_after)
Description
ctdbNumberGetDecimal() retrieves the number of digits before and after the decimal point.
Returns
ctdbNumberGetDecimal() returns CTDBRET_OK on success, or c-treeDB API API error on failure.
The possible errors associated with ctdbNumberGetDecimal() are:
See also
ctdbNumberAdd(), ctdbNumberSub(), ctdbNumberMul(), ctdbNumberDiv(), ctdbNumberAbs(), ctdbNumberCmp(), ctdbNumberZero(), ctdbNumberCopy(), ctdbNumberGetDecimal(), ctdbNumberCopy(), ctdbNumberRound()