ctdbNumberNegate
Negate a number.
Declaration
CTDBRET ctdbNumberNegate(pCTNUMBER pSource, pCTNUMBER pResult)
Description
ctdbNumberNegate negates a number (eg. -Number).
Returns
ctdbNumberNegate() returns CTDBRET_OK on success, or c-treeDB API error on failure.
The possible errors associated with ctdbNumberNegate() are:
See also
ctdbNumberAdd(), ctdbNumberSub(), ctdbNumberMul(), ctdbNumberDiv(), ctdbNumberAbs(), ctdbNumberCmp(), ctdbNumberZero(), ctdbNumberRound(), ctdbNumberCopy(), ctdbNumberGetDecimal()