Case return value to int