how to Casting variables?

how to Casting variables?

i want casting int.

int test;
test = this.Variables().Item("ExecuteTrend").get_Value(0);
this error
and
(int)
Int32.Parse all error

ExecuteTrend Internal variables (int)

This is a migrated post! Originally posted on 11.04.2016 by user backjahyun. Please be aware that information can be outdated.