You must use the script function Num to assign numeric values to variables in numeric expressions. If you do not, the variables will be treated as strings.
Example 17 $a = 20;
$b = Num($a) + 30;
Result: $b=50
Example 18 $a = 20;
$b = $a + 30;
Result: $b=2030
OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |