Development tools : Global functions : BigDecimal Manipulation category : add
  
add
Description
Calculates the sum of two numbers that you sepcify.
Usage
Client side: N
Server side: Y
Syntax
BigDecimal add(number1, number2, precision)
Argument
number1
The first number to be calculated. The default value is 0. The data type is Number.
number2
The second number to be calculated. The default value is 0. The data type is Number.
precision
The number of digits to be retained after decimal point in the calculation results. The default value is -1, which means original calculation results are returned.
Note Nonnumeric strings in number1 and number2 are regarded as the default value 0.
Return
Returns the sum of number1 and number2 with HALF_EVEN rounding.
Go up to
BigDecimal Manipulation category