ctdbNumberAbs
Return the absolute value of a CTNUMBER type value.
Declaration
CTDBRET ctdbNumberAbs(pCTNUMBER pSource, pCTNUMBER pResult)
Description
ctdbNumberAbs() returns the absolute value of a CTNUMBER type value.
Returns
ctdbNumberAbs() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible errors associated with ctdbNumberAbs() are:
See also
ctdbNumberAdd(), ctdbNumberSub(), ctdbNumberMul(), ctdbNumberDiv(), ctdbNumberCmp(), ctdbNumberNegate(), ctdbNumberZero(), ctdbNumberRound(), ctdbNumberCopy(), ctdbNumberGetDecimal()