Single.GreaterThan(Single, Single) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
static bool operator >(float left, float right);
public:
static bool operator >(float left, float right) = System::Numerics::IComparisonOperators<float, float, bool>::op_GreaterThan;
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
第一個要比較的值。
- right
- Single
要比較的第二個值。
傳回
true 若 left 大於 right;否則, false。
實作
備註
此 GreaterThan 方法定義了值 Single 的大於算子的運算。