add

Adds the last two items on the stack

A B add

Arguments
labeltypedescription
A variable or constant variable or constant to be added
B variable or constant variable or constant to be added
Returns
sum variable or constant The resulting sum of A and B.

If either A or B are variables, then sum will be a variable. If both A and B are constants, then sum will also be a constant.


Description

add adds together the two previously listed variables or constants to produce one resulting variable or constant.

Example

SOURCES .NOAA .NCEP .CPC .GMSM .w
5 add


This example simply adds a value of 5 to all GMSM soil moisture values.

Live Example Link


See also

Arithmetic Functions: abs differences div eexp ln log mag mod mul RESCALE sqrt sqrtsgn sub sum