Standard variables in beas script always defined with setvar
And this is always type string in window regional setting format
Many functions available to work with this type of variables
Example: Add 2 numeric
setvar=a=5
setvar=b=6
setvar=result=%numadd(a,b)
// return 11
Note: if you must work with Date or numberic values, it's better to work with decimal and date variables, otherwise you've always trouble with regional format settings.
See