Interface IPrefix
Defines a unit prefix that can can be expressed as either a multiple or a submultiple of the unit of measurement.
public interface IPrefix
- Extension Methods
Properties
Base
Gets the number to be raised of the unit prefix.
double Base { get; }
Property Value
- double
The number to be raised of the unit prefix.
Exponent
Gets the exponent of the unit prefix.
double Exponent { get; }
Property Value
- double
The exponent of the unit prefix.
Multiplier
Gets the unit prefix multiplier.
double Multiplier { get; }
Property Value
- double
The unit prefix multiplier.
Name
Gets the name of the unit prefix.
string Name { get; }
Property Value
- string
The name of the unit prefix.
Symbol
Gets the symbol of the unit prefix.
string Symbol { get; }
Property Value
- string
The symbol of the unit prefix.
Methods
ToBaseValue(double)
Converts the prefixValue
back to a unit base value.
double ToBaseValue(double prefixValue)
Parameters
prefixValue
doubleThe value of the unit prefix.
Returns
ToPrefixValue(double)
Converts the unit base baseValue
to a unit prefix value.
double ToPrefixValue(double baseValue)
Parameters
baseValue
doubleThe value of the base unit.