Click or drag to resize

TemperatureLessThanOrEqual Operator

Determines whether one specified Temperature is less than or equal to another specified Temperature.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public static bool operator <=(
	Temperature lhs,
	Temperature rhs
)

Parameters

lhs  Temperature
The first Temperature to compare.
rhs  Temperature
The second Temperature to compare.

Return Value

Boolean
true 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
VersionDescription
1.4 This was added in version 1.4.
See Also