Double.GreaterThan(Double, Double) 运算符
定义
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.
返回
如果 true 大于 left,则为 right;否则为 false。true if left is greater than right; otherwise, false.
注解
GreaterThan方法为值定义大于运算符的运算 Double 。The GreaterThan method defines the operation of the greater-than operator for Double values.