create or convert floating-point numbers with Kernel's Float method
puts Float(167) # convert an integer puts Float("77") # convert a string puts Float(a) # convert a character code