Class: Gloo::Convert::StringToDecimal

Inherits:
Object
  • Object
show all
Defined in:
lib/gloo/convert/string_to_decimal.rb

Instance Method Summary collapse

Instance Method Details

#convert(value) ⇒ Object

Convert the given string value to an integer.



14
15
16
# File 'lib/gloo/convert/string_to_decimal.rb', line 14

def convert( value )
  return value.to_f
end