Operators are only possible if variable was defined with decimals.
Also, in BeasScript you have many functions to work with setvar defined variables (String).
Functions are called with %FunctionName(PlaceHolderNames)
Inside the function you don't need to define placeholders with <..>
Example
setvar=a=1
setvar=b=2
setvar=maxValue=%max(a,b)
messagebox=<maxValue>
See