SI2 Class

Defines constant factors based on 1024 for related binary SI units of measure used in computational measurements.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static class SI2
Inheritance
Object    SI2

Remarks

See NIST Reference for information on IEC standard names.

Properties

Factors Gets an array of all the defined binary SI unit factors ordered from least (Kilo) to greatest (Exa).
IECNames Gets an array of all the defined IEC binary unit factor SI names ordered from least (Kibi) to greatest (Exbi).
IECSymbols Gets an array of all the defined IEC binary unit factor SI prefix symbols ordered from least (Kibi) to greatest (Exbi).
Names Gets an array of all the defined common binary unit factor SI names ordered from least (Kilo) to greatest (Exa).
Symbols Gets an array of all the defined common binary unit factor SI prefix symbols ordered from least (Kilo) to greatest (Exa).

Methods

ToScaledString(Int64, String, String, Int64, Int64) Turns the given number of units (e.g., bytes) into a textual representation with an appropriate unit scaling and common named representation (e.g., KB, MB, GB, TB, etc.).
ToScaledString(Int64, String, String, Int64, Int64) Turns the given number of units (e.g., bytes) into a textual representation with an appropriate unit scaling and common named representation (e.g., KB, MB, GB, TB, etc.).
ToScaledString(Int64, Int32, String, String, Int64, Int64) Turns the given number of units (e.g., bytes) into a textual representation with an appropriate unit scaling and common named representation (e.g., KB, MB, GB, TB, etc.).
ToScaledString(Int64, String, String, String, Int32, Int64, Int64) Turns the given number of units (e.g., bytes) into a textual representation with an appropriate unit scaling given string array of factor names or symbols.

Fields

Exa 1 exa, binary (E) = 1,152,921,504,606,846,976
Exbi 1 exbi (Ei) = 1,152,921,504,606,846,976
Gibi 1 gibi (Gi) = 1,073,741,824
Giga 1 giga, binary (G) = 1,073,741,824
Kibi 1 kibi (Ki) = 1,024
Kilo 1 kilo, binary (K) = 1,024
Mebi 1 mebi (Mi) = 1,048,576
Mega 1 mega, binary (M) = 1,048,576
Pebi 1 pebi (Pi) = 1,125,899,906,842,624
Peta 1 peta, binary (P) = 1,125,899,906,842,624
Tebi 1 tebi (Ti) = 1,099,511,627,776
Tera 1 tera, binary (T) = 1,099,511,627,776

See Also