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.
Thank you! it worked, i was using [[VARIABLE]]/Images.txt with expression, it was also giving me error but then i used it with string then it worked. I thought in string, variables values cannot be used :)