# File lib/mega/floatstring.rb, line 112
  def [](arg)
    if arg.kind_of?(Range)
      #r = Range.new(arg.first.to_f, arg.last.to_f, arg.exclude_end?)
      a = @float.to_a.sort_by{ |k,v| k }
      s = a.index(a.find{ |e| e[0] == arg.first.to_f})
      f = a.index(a.find{ |e| e[0] == arg.last.to_f})
      a = arg.exclude_end? ? a[s...f] : a[s..f]
      a.collect{ |k,v| v }.join('')
    else
      @float[arg.to_f]
    end
  end