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.

返回

Boolean

如果 left 大于等于 right,则为 true;否则为 falsetrue if left is greater than or equal to right; otherwise, false.

注解

GreaterThanOrEqual方法为值定义大于或等于运算符的运算 DoubleThe GreaterThanOrEqual method defines the operation of the greater-than-or-equal operator for Double values.

适用于