Class: Cequel::Type::Double

Inherits:
Base
  • Object
show all
Defined in:
lib/cequel/type.rb

Overview

‘double` columns store 64-bit floating-point numeric values

See Also:

Since:

  • 1.0.0

Direct Known Subclasses

Float

Instance Method Summary collapse

Methods inherited from Base

#compatible_types, #cql_aliases, #cql_name, #internal_name, #internal_names, #to_s

Instance Method Details

#cast(value) ⇒ Object

Since:

  • 1.0.0



297
298
299
# File 'lib/cequel/type.rb', line 297

def cast(value)
  Float(value)
end