Class DecimalPrefix
Defines a decimal (metric) unit prefix for multiples and submultiples of measurement that refers strictly to powers of 10. This class cannot be inherited.
Implements
Inherited Members
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public sealed class DecimalPrefix : PrefixMultiple, IPrefixMultiple
Constructors
| Improve this Doc View SourceDecimalPrefix(String, String, Double)
Initializes a new instance of the DecimalPrefix struct.
Declaration
public DecimalPrefix(string name, string symbol, double exponent)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the decimal prefix. |
String | symbol | The symbol of the the decimal prefix. |
Double | exponent | The number that specifies a power. |
Properties
| Improve this Doc View SourceAtto
Gets the decimal-submultiple prefix atto (symbol 'a'), 10^-18 = 0.000000000000000001.
Declaration
public static DecimalPrefix Atto { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix atto (symbol 'a'). |
Centi
Gets the decimal-submultiple prefix centi (symbol 'c'), 10^-2 = 0.01.
Declaration
public static DecimalPrefix Centi { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix centi (symbol 'c'). |
Deca
Gets the decimal-multiple prefix deca (symbol 'da'), 10^1 = 10.
Declaration
public static DecimalPrefix Deca { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix deca (symbol 'da'). |
Deci
Gets the decimal-submultiple prefix deci (symbol 'd'), 10^-1 = 0.1.
Declaration
public static DecimalPrefix Deci { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix deci (symbol 'd'). |
Exa
Gets the decimal-multiple prefix exa (symbol 'E'), 10^18 = 1000000000000000000.
Declaration
public static DecimalPrefix Exa { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix exa (symbol 'E'). |
Femto
Gets the decimal-submultiple prefix femto (symbol 'f'), 10^-15 = 0.000000000000001.
Declaration
public static DecimalPrefix Femto { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix femto (symbol 'f'). |
Giga
Gets the decimal-multiple prefix giga (symbol 'G'), 10^9 = 1000000000.
Declaration
public static DecimalPrefix Giga { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix giga (symbol 'G'). |
Hecto
Gets the decimal-multiple prefix hecto (symbol 'h'), 10^2 = 100.
Declaration
public static DecimalPrefix Hecto { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix hecto (symbol 'h'). |
Kilo
Gets the decimal-multiple prefix kilo (symbol 'k'), 10^3 = 1000.
Declaration
public static DecimalPrefix Kilo { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix kilo (symbol 'k'). |
Mega
Gets the decimal-multiple prefix mega (symbol 'M'), 10^6 = 1000000.
Declaration
public static DecimalPrefix Mega { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix mega (symbol 'M'). |
MetricPrefixes
Gets the complete sequence of multiples and submultiples metric prefixes as specified by International System of Units (SI).
Declaration
public static IEnumerable<DecimalPrefix> MetricPrefixes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<DecimalPrefix> | The complete sequence of multiples and submultiples metric prefixes as specified by International System of Units (SI). |
Micro
Gets the decimal-submultiple prefix micro (symbol 'μ'), 10^-6 = 0.000001.
Declaration
public static DecimalPrefix Micro { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix micro (symbol 'μ'). |
Milli
Gets the decimal-submultiple prefix milli (symbol 'μ'), 10^-3 = 0.001.
Declaration
public static DecimalPrefix Milli { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix milli (symbol 'μ'). |
Nano
Gets the decimal-submultiple prefix nano (symbol 'n'), 10^-9 = 0.000000001.
Declaration
public static DecimalPrefix Nano { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix nano (symbol 'n'). |
Peta
Gets the decimal-multiple prefix peta (symbol 'P'), 10^15 = 1000000000000000.
Declaration
public static DecimalPrefix Peta { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix peta (symbol 'P'). |
Pico
Gets the decimal-submultiple prefix pico (symbol 'f'), 10^-12 = 0.000000000001.
Declaration
public static DecimalPrefix Pico { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix pico (symbol 'f'). |
Tera
Gets the decimal-multiple prefix tera (symbol 'T'), 10^12 = 1000000000000.
Declaration
public static DecimalPrefix Tera { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix tera (symbol 'T'). |
Yocto
Gets the decimal-submultiple prefix yocto (symbol 'y'), 10^-24 = 0.000000000000000000000001.
Declaration
public static DecimalPrefix Yocto { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix yocto (symbol 'y'). |
Yotta
Gets the decimal-multiple prefix yotta (symbol 'Y'), 10^24 = 1000000000000000000000000.
Declaration
public static DecimalPrefix Yotta { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix yotta (symbol 'Y'). |
Zepto
Gets the decimal-submultiple prefix zepto (symbol 'z'), 10^-21 = 0.000000000000000000001.
Declaration
public static DecimalPrefix Zepto { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-submultiple prefix zepto (symbol 'z'). |
Zetta
Gets the decimal-multiple prefix zetta (symbol 'Z'), 10^21 = 1000000000000000000000.
Declaration
public static DecimalPrefix Zetta { get; }
Property Value
Type | Description |
---|---|
DecimalPrefix | The decimal-multiple prefix zetta (symbol 'Z'). |