Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlMulNumeric

Multiply two numeric values.

Declaration

CTSQLRET ctsqlMulNumeric(NUMERIC* num1, NUMERIC* num2, NUMERIC* res)

Description

ctsqlMulNumeric() multiplies two numeric values.

  • num1 the first operand to the multiplication.
  • num2 the second operand to the multiplication.
  • res the result of the multiplication operation.

Return

ctsqlMulNumeric() returns 0 on success, or -1 on failure.

See Also

ctsqlAddNumeric(), ctsqlSubNumeric(), ctsqlDivNumeric()

TOCIndex