Method: Numerals::FltConversion#initialize

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

#initialize(context_or_type, options = {}) ⇒ FltConversion

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. :context can be used to use the numeric context as input rounding. input_rounding is also used to round input …



16
17
18
# File 'lib/numerals/conversions/flt.rb', line 16

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