Sorry bud, I didn't see this come across my feed!
You can also use Math.trunc(decs). Just change the type from String to expression when setting the variable.
as I mentioned above, is it possible that I call another BAS script and after the processing of this "external" BAS script is done the current script continues at the next step (action)? Also can I exchange variable values between my "calling" and my "external" script?
Thanks :)
Not. But you can use the code of the second script as a function in the first script.