    # File lib/facets/more/bytes.rb, line 102
      def strfbits(fmt='%.2f')
        case
        when self < 1024
          "#{self} bits"
        when self < 1024**2
          "#{fmt % (self.to_f / 1024)} kb"
        when self < 1024**3
          "#{fmt % (self.to_f / 1024**2)} mb"
        when self < 1024**4
          "#{fmt % (self.to_f / 1024**3)} gb"
        when self < 1024**5
          "#{fmt % (self.to_f / 1024**4)} tb"
        else
          "#{self} bits"
        end
      end