class ActiveGraph::Shared::TypeConverters::FloatConverter

Public Class Methods

convert_type() click to toggle source
   # File lib/active_graph/shared/type_converters.rb
56 def convert_type
57   Float
58 end
db_type() click to toggle source
   # File lib/active_graph/shared/type_converters.rb
60 def db_type
61   Float
62 end
to_db(value) click to toggle source
   # File lib/active_graph/shared/type_converters.rb
64 def to_db(value)
65   value.to_f
66 end
Also aliased as: to_ruby
to_ruby(value)
Alias for: to_db