Single.GreaterThanOrEqual(Single, Single) 运算符

定义

返回一个值,该值指示指定的 Single 值是否大于或等于另一个指定的 Single 值。Returns a value that indicates whether a specified Single value is greater than or equal to another specified Single value.

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

参数

left
Single

要比较的第一个值。The first value to compare.

right
Single

要比较的第二个值。The second value to compare.

返回

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

注解

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

适用于