DataBasic Reference > MultiValue Compatibility > Statements and Intrinsic Functions > SSUB 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 ()

SSUB Function (DataBasic MultiValue Compatibility) (m6187ai+ssub_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.0Comment on this topic