Click or drag to resize

DimensionfulQuantity Operators

The DimensionfulQuantity type exposes the following members.

Operators
 NameDescription
Public operatorStatic memberAddition(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberDivision(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberDivision(DimensionfulQuantity, Double) 
Public operatorStatic memberDivision(Double, DimensionfulQuantity) 
Public operatorStatic memberEquality(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberGreaterThan(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberGreaterThanOrEqual(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberInequality(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberLessThan(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberLessThanOrEqual(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberMultiply(DimensionfulQuantity, DimensionfulQuantity) 
Public operatorStatic memberMultiply(DimensionfulQuantity, Double) 
Public operatorStatic memberMultiply(Double, DimensionfulQuantity) 
Public operatorStatic memberSubtraction(DimensionfulQuantity, DimensionfulQuantity) Implements the subtraction operator. Here, the intended operation is ambiguous if we subtract a biased unit and an unbiased unit. The result can be treated either as biased or unbiased. For example: 20°C minus 20 Kelvin. The result is either 293.15 K - 20 K = 273.15 K or 20°C - 20 K = 0 °C (biased). Although the same, this results in difficulties if subsequently rates are calculated from this result. Because of that, the decision was made to treat the result as unbiased value.
Public operatorStatic memberUnaryNegation(DimensionfulQuantity) 
Top
See Also