SADD function
Syntax
SADD (string.number.1, string.number.2)
Description
Use the SADD function to add two string numbers and return the result as a string number. You can use this function in any expression where a string or string number is valid, but not necessarily where a standard number is valid, because string numbers can exceed the range of numbers that standard arithmetic operators can handle.
Either string number can evaluate to any valid number or string number.
If either string number contains nonnumeric data, an error message is generated, and 0 replaces the nonnumeric data. If either string number evaluates to the null value, null is returned.
Example
A = 88888888888888888
B = 77777777777777777
X = "88888888888888888"
Y = "77777777777777777"
PRINT A + B
PRINT SADD(X,Y)
This is the program output:
166666666666667000
166666666666666665