"123.50".to_f #=> 123.5 Float("123.50") #=> 123.5
However, there is a difference when the string is not a valid Float:
Float
"something".to_f #=> 0.0 Float("something") # ArgumentError: invalid value for Float(): "something"