Editar

Compartir vía


Single.LessThanOrEqual(Single, Single) Operator

Definition

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

Implements

Remarks

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

Applies to