Double.LessThan Operator

.NET Framework 4.6 and 4.5

Returns a value that indicates whether a specified Double value is less than 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 right; otherwise, false.

The LessThan method defines the operation of the less-than operator for Double values.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft