Επεξεργασία

Κοινή χρήση μέσω


Single.GreaterThan(Single, Single) Operator

Definition

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

Implements

Remarks

The GreaterThan method defines the operation of the greater-than operator for Single values.

Applies to