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 FairCom DB API error on failure.
The possible errors associated with ctdbNumberNegate() are:
See also
ctdbNumberAdd(), ctdbNumberSub(), ctdbNumberMul(), ctdbNumberDiv(), ctdbNumberAbs(), ctdbNumberCmp(), ctdbNumberZero(), ctdbNumberRound(), ctdbNumberCopy(), ctdbNumberGetDecimal()