Show / Hide Table of Contents

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.

Inheritance
Object
PrefixMultiple
DecimalPrefix
Implements
IPrefixMultiple
Inherited Members
PrefixMultiple.None
PrefixMultiple.Name
PrefixMultiple.Symbol
PrefixMultiple.Multiplier
PrefixMultiple.ToPrefixValue(Double)
PrefixMultiple.ToBaseValue(Double)
PrefixMultiple.ToString()
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public sealed class DecimalPrefix : PrefixMultiple, IPrefixMultiple

Constructors

| Improve this Doc View Source

DecimalPrefix(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 Source

Atto

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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).

| Improve this Doc View Source

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 'μ').

| Improve this Doc View Source

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 'μ').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

| Improve this Doc View Source

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').

Implements

IPrefixMultiple

See Also

PrefixMultiple
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX