SADD Function

Returns the result of adding two numbers.

This function is provided for compatibility with other MultiValue systems.

Syntax

SADD(value1, value2)

Syntax Elements

value1, value2
DataBasic expressions that evaluate to numeric values.

Return Value

The result of adding value1 and value2.

Operation

SADD ignores the current precision; as a result, when using numeric strings the return value is not truncated. For more details, refer to the PRECISION statement.

Example

A = 35.528435
B = 7
C = SADD(A, B)

Sets variable C to 42.528435.