TemperatureLessThanOrEqual Operator |
Determines whether one specified Temperature is less than
or equal to another specified Temperature.
Namespace: DegreeDays.Api.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public static bool operator <=(
Temperature lhs,
Temperature rhs
)
Public Shared Operator <= (
lhs As Temperature,
rhs As Temperature
) As Boolean
Parameters
- lhs Temperature
- The first Temperature to compare.
- rhs Temperature
- The second Temperature to compare.
Return Value
Booleantrue if
lhs is less than or equal to
rhs;
false otherwise.
Remarks
If two temperatures have different units but are exactly equivalent (like
how 18°C is exactly equivalent to 64.4°F), the Celsius
temperature will be considered to be lower.
Version History Version | Description |
---|
1.4 |
This was added in version 1.4.
|
See Also