ctdbNumberZero
Set the value of a number to zero.
Declaration
CTDBRET ctdbNumberZero(pCTNUMBER pNumber)
Description
ctdbNumberZero() sets the value of a number to zero.
Returns
ctdbNumberZero() returns CTDBRET_OK on success, or FairCom DB API error on failure. Use ctdbIsNumberZero() to check if a number is zero.
The possible error associated with ctdbNumberZero() is:
See also
ctdbIsNumberZero(), ctdbNumberAbs(), ctdbNumberCmp(), ctdbNumberNegate(), ctdbNumberRound(), ctdbNumberCopy(), ctdbNumberGetDecimal()