Arithmetic Operators
For arithmetic operators, an operand is considered a number if its first character is a digit or a minus sign (–). Otherwise, it is considered a string and converted to 0 for an empty string or 1 for a non-empty string. The use of a non-number in an arithmetic context may result in a run-time warning, as discussed in PslDebug-Run-Time-Error-Checking-Variable. The following table lists the PSL arithmetic operators.
Operator | Definition |
---|---|
+ | addition |
- | subtraction |
/ | division |
* | multiplication |
% | modulus |
Where to go from here
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*