Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbNumberCopy

Copy a number from pSource to pDest.

Declaration

CTDBRET ctdbNumberCopy(pCTNUMBER pDest, pCTNUMBER pSource)

Description

ctdbNumberAbs() copies a number from pSource to pDest.

  • pDest [out] pointer to the destination of the copy operation.
  • pSource [in] pointer to the source value to be copied.

Returns

ctdbNumberAbs() returns CTDBRET_OK on success, or FairCom DB API error on failure. The possible errors associated with ctdbNumberAbs() are:

  • CTDBRET_NULARG (4007): Null argument not valid in any operand

See also

ctdbNumberAdd(), ctdbNumberSub(), ctdbNumberMul(), ctdbNumberDiv(), ctdbNumberCmp(), ctdbNumberNegate(), ctdbNumberZero(), ctdbNumberRound(), ctdbNumberCopy(), ctdbNumberGetDecimal()

TOCIndex