Interface IPrefixMultiple
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Defines a unit prefix that can can be expressed as a either a multiple or a submultiple of the unit of measurement.
public interface IPrefixMultiple
Properties
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
- Double
A System.Double that represents a unit base value.
ToPrefixValue(Double)
Converts the unit base value
to a unit prefix value.
double ToPrefixValue(double value)
Parameters
value
DoubleThe value of the base unit.
Returns
- Double
A System.Double that represents a unit prefix value.