Standard variables in BeasScript 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 numeric values, it is better to work with decimal and date variables, otherwise you will always have issues with regional format settings.
See