ConversionRatio Methods |
The ConversionRatio type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() ![]() | CombineThroughBase |
Combines two ConversionRatio instances, which are conversion ratios against a single base unit of measure.
|
![]() ![]() | Convert |
Converts the specified value by applying the conversion ratio.
|
![]() ![]() | ConvertBack |
Converts the specified value back to the original value by applying the ratio backwards.
|
![]() ![]() | Divide |
Divides the specified ratio by the specified divisor.
|
![]() | Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(ConversionRatio) |
Indicates whether the current object is equal to another object of the same type.
|
![]() | GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() ![]() | Multiply(ConversionRatio, ConversionRatio) |
Multiplies the specified ratios multipliers and the divisors.
|
![]() ![]() | Multiply(ConversionRatio, Decimal) |
Multiplies the specified ratios multipliers and the divisors.
|
![]() | ToString |
Returns a String that represents this instance.
(Overrides ValueTypeToString.) |