Force int?

Is this how you force an int?