Double.GreaterThanOrEqual(Double, Double) 運算子

定義

傳回值,該值表示指定的 Double 值是否大於或等於另一個指定的 Double 值。Returns a value that indicates whether a specified Double value is greater than or equal to another specified Double value.

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

參數

left
Double

要比較的第一個值。The first value to compare.

right
Double

要比較的第二個值。The second value to compare.

傳回

如果 left 大於或等於 right,則為 true,否則為 falsetrue if left is greater than or equal to right; otherwise, false.

備註

GreaterThanOrEqual 方法會針對 Double 值定義大於或等於運算子的運算。The GreaterThanOrEqual method defines the operation of the greater-than-or-equal operator for Double values.

適用於