IBiasedUnit Type

Designates a biased unit, i.e. a unit for wich 0 units of that unit is not the same as 0 units of the corresponding SI unit.

Instance members

Instance member Description

this.AddBiasedValueOfThisUnitAndSIValue

Full Usage: this.AddBiasedValueOfThisUnitAndSIValue

Parameters:
    biasedValueOfThisUnit : float - The biased value of this unit.
    siValue : float - The si value.

Returns: float
Modifiers: abstract

Adds the biased value of this unit and an SI value to get the biased value of this unit. For example 20°C + 20 K results in 40°C or 20 °F + 20 K results in 52 °F

biasedValueOfThisUnit : float

The biased value of this unit.

siValue : float

The si value.

Returns: float

this.ToSIUnitIfTreatedAsDifference

Full Usage: this.ToSIUnitIfTreatedAsDifference

Parameters:
    differenceValue : float - The value treated as difference.

Returns: float
Modifiers: abstract

Converts a value of this unit to a value in the corresponding SI unit. The provided value is treated as difference. Thus if e.g. the unit is DegreesCelsius, by providing 20 the result is 20 (K), because 20°C - 0°C = 20 K.

differenceValue : float

The value treated as difference.

Returns: float