Method: Fit::ScientificDouble#initialize
- Defined in:
- lib/fit/scientific_double.rb
#initialize(value) ⇒ ScientificDouble
Returns a new instance of ScientificDouble.
11 12 13 14 |
# File 'lib/fit/scientific_double.rb', line 11 def initialize value @value = Float(value) @precision = 0 end |