DataBasic Reference > MultiValue Compatibility > Statements and Intrinsic Functions > SADD Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

SADD Function (DataBasic MultiValue Compatibility) (m6187ai+sadd_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.0Comment on this topic