SyntaxFix
Write A Post
Hire A Developer
Questions
my_var = (int)my_var;
As simple as that. Basically you don't need it if the variable is int.