instance method zettabytes

Ruby on Rails 8.1.2

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

zettabytes()

Returns the number of bytes equivalent to the zettabytes provided.

2.zettabytes # => 2_361_183_241_434_822_606_848
Source
# File activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 71
  def zettabytes
    self * ZETTABYTE
  end

Defined in activesupport/lib/active_support/core_ext/numeric/bytes.rb line 71 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Numeric

Type at least 2 characters to search.

↑↓ navigate · open · esc close