Method: Numerals::FloatConversion#initialize

Defined in:
lib/numerals/conversions/float.rb

#initialize(options = {}) ⇒ FloatConversion

Options:

  • :input_rounding (optional, a non-exact Rounding or rounding mode) which is used when input is approximate as the assumed rounding mode which would be used so that the result numeral rounds back to the input number



12
13
14
# File 'lib/numerals/conversions/float.rb', line 12

def initialize(options={})
  super Float, options
end