Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » DecimalNumber interface

 

add function

Adds two DecimalNumbers and returns the sum.

Syntax
DecimalNumber DecimalNumber.add(
  DecimalNumber num1,
  DecimalNumber num2
) throws ULjException
Parameters
  • num1   A first number.

  • num2   A second number.

Returns

The sum of num1 and num2.