Use the `#to_i` method instead