Coerce value into a float
Transproc(:to_float)['1.2'] # => 1.2
93 94 95
# File 'lib/transproc/coercions.rb', line 93 def self.to_float(value) value.to_f end