added String#to_number
String#to_number float/int switch