Module: Mida::DataType::Float
- Defined in:
- lib/mida/datatype/float.rb
Overview
Float data type
Class Method Summary collapse
-
.extract(value) ⇒ Object
Returns the
value
as a floating point number Relies onFloat
to raiseArgumentError
if not valid.
Class Method Details
.extract(value) ⇒ Object
Returns the value
as a floating point number Relies on Float
to raise ArgumentError
if not valid
9 10 11 |
# File 'lib/mida/datatype/float.rb', line 9 def self.extract(value) Float(value) end |