Double.LessThanOrEqual Operator

July 28, 2014

Returns a value that indicates whether a specified Double value is less than or equal to another specified Double value.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static bool operator <=(
	double left,
	double right
)

Parameters

left
Type: System.Double
The first value to compare.
right
Type: System.Double
The second value to compare.

Return Value

Type: System.Boolean
true if left is less than or equal to right; otherwise, false.

The LessThanOrEqual method defines the operation of the less-than-or-equal operator for Double values.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft