SSUB Function

Returns the result of subtracting one number from another.

This function is provided for compatibility with other MultiValue systems.

Syntax

SSUB(value1, value2)

Syntax Elements

value1, value2
DataBasic expressions that evaluate to numeric values.

Return Value

The result of subtracting value2 from value1.

Operation

SSUB 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 = SSUB(A, B)

Sets variable C to 28.528435.