Bewerken

Share via


Double.GreaterThan(Double, Double) Operator

Definition

Returns a value that indicates whether a specified Double value is greater than another specified Double value.

public:
 static bool operator >(double left, double right);
public:
 static bool operator >(double left, double right) = System::Numerics::IComparisonOperators<double, double, bool>::op_GreaterThan;
public static bool operator > (double left, double right);
static member ( > ) : double * double -> bool
Public Shared Operator > (left As Double, right As Double) As Boolean

Parameters

left
Double

The first value to compare.

right
Double

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 Double values.

Applies to