Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbMoneyCmp

Compare two CTMONEY type values.

Declaration

NINT ctdbMoneyCmp(CTMONEY left, CTMONEY right)

Description

ctdbMoneyCmp() compares two CTMONEY values.

  • left [in] the first value to be compared.
  • right [in] the second value to be compared.

Returns

ctdbMoneyCmp() returns a negative value if left < right, positive value if left > right, and zero if left == right

See also

ctdbMoneyAdd(), ctdbMoneySub(), ctdbMoneyMul(), ctdbMoneyDiv(), ctdbMoneyAbs()

TOCIndex