Interface IPrefixMultiple
Defines a unit prefix that can can be expressed as a either a multiple or a submultiple of the unit of measurement.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public interface IPrefixMultiple
Properties
| Improve this Doc View SourceMultiplier
Gets the unit prefix multiplier.
Declaration
double Multiplier { get; }
Property Value
Type | Description |
---|---|
Double | The unit prefix multiplier. |
Name
Gets the name of the unit prefix.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String | The name of the unit prefix. |
Symbol
Gets the symbol of the unit prefix.
Declaration
string Symbol { get; }
Property Value
Type | Description |
---|---|
String | The symbol of the unit prefix. |
Methods
| Improve this Doc View SourceToBaseValue(Double)
Converts the prefixValue
back to a unit base value.
Declaration
double ToBaseValue(double prefixValue)
Parameters
Type | Name | Description |
---|---|---|
Double | prefixValue | The value of the unit prefix. |
Returns
Type | Description |
---|---|
Double | A Double that represents a unit base value. |
ToPrefixValue(Double)
Converts the unit base value
to a unit prefix value.
Declaration
double ToPrefixValue(double value)
Parameters
Type | Name | Description |
---|---|---|
Double | value | The value of the base unit. |
Returns
Type | Description |
---|---|
Double | A Double that represents a unit prefix value. |