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.