instance method
zettabytes
Ruby on Rails 7.1.6
Since v7.1.6Signature
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