The symbolic math operators allowed in order of precedence are:
^ | Exponentiation |
* | Multiplication |
/ | Division |
+ | Addition |
- | Subtraction |
You can alter the order of evaluation by nesting expressions in parentheses.
Mathematical operators for strings (A type fields):
+ | Concatenate two strings together. |
* | Will trim the trailing spaces of the first field before concatenating the strings together. |
<< | Will Concatenate a number and a string(A type fields) and trim the leading spaces of the second field. (New since ver 7.2 build 1) |
EXAMPLES
3 ^ 2 = 9
3 * 2 = 6
4 / 2 = 2
3 + 2 = 5
3 - 2 = 1
3 + 2 * 1 + 4 = 9
(3 + 2) * (1 + 4) = 25
'ABCD ' + 'EFG' = 'ABCD EFG'
'ABCD ' * 'EFG' = 'ABCDEFG'
'This is a number '+100 <<' End of Comment' = 'This is a number 100 End of Comment'
Page url: http://www.cassoftware.com/tas/manual/mathmaticaloperators.htm