Cast rotation information to integer