Throw position to int