Actions
Bug #13105
closed`String#to_f` and `String#to_r` don't stop at successive underscores
Bug #13105:
`String#to_f` and `String#to_r` don't stop at successive underscores
Description
Integer(), Float() and Rational() errs at successive underscores, and String#to_i stops the conversion there.
But String#to_f and String#to_r continue the conversion like as there were just one underscore.
Is this intentional?
Actions