Editare

Partajați prin


Single.LessThan(Single, Single) Operator

Definition

Returns a value that indicates whether a specified Single value is less than another specified Single value.

public:
 static bool operator <(float left, float right);
public:
 static bool operator <(float left, float right) = System::Numerics::IComparisonOperators<float, float, bool>::op_LessThan;
public static bool operator < (float left, float right);
static member ( < ) : single * single -> bool
Public Shared Operator < (left As Single, right As Single) As Boolean

Parameters

left
Single

The first value to compare.

right
Single

The second value to compare.

Returns

true if left is less than right; otherwise, false.

Implements

Remarks

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

Applies to