Module | Sequel::LooserTypecasting |
In: |
lib/sequel/extensions/looser_typecasting.rb
|
Typecast the value to a Float using to_f instead of Kernel.Float
# File lib/sequel/extensions/looser_typecasting.rb, line 12 12: def typecast_value_float(value) 13: value.to_f 14: end