enum

Int::BinaryPrefixFormat

Inherits Enum / Comparable / Value / Object

Constants

IEC = 0

The IEC standard prefixes (Ki, Mi, Gi, Ti, Pi, Ei, Zi, Yi, Ri, Qi) based on powers of 1000.

JEDEC = 1

Extended range of the JEDEC units (K, M, G, T, P, E, Z, Y, R, Q) which equals to the prefixes of the SI system except for uppercase K and is based on powers of 1024.

Instance methods

iec?

Returns true if this enum value equals IEC

Source
jedec?

Returns true if this enum value equals JEDEC

Source