LessThanOrEqual Operator

Double.LessThanOrEqual Operator (Double, Double)

.NET Framework 4.6 and 4.5

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


Type: System.Double

The first value to compare.

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft