SSUB


The SSUB function performs string subtraction of two base 10 string numbers.

 

COMMAND SYNTAX

SSUB(expr1, expr2)

 

SYNTAX ELEMENTS

expr1 and expr2 are strings consisting of numeric characters, optionally including a decimal part.

 

NOTES

The SSUB function can be used with numbers that may exceed a valid range with standard arithmetic operators.

The PRECISION declaration has no effect on the value returned by SSUB.

 

EXAMPLE

A = 2.3000000123456789
B = 5.0000000000000001
CRT SSUB(A,B)

Displays -2.6999999876543212 to the screen.


jBC