共用方式為


NFloat.LessThanOrEqual(NFloat, NFloat) 運算子

定義

比較兩個值,以判斷哪一個值小於或相等。

public:
 static bool operator <=(System::Runtime::InteropServices::NFloat left, System::Runtime::InteropServices::NFloat right) = System::Numerics::IComparisonOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, bool>::op_LessThanOrEqual;
public static bool operator <= (System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right);
static member ( <= ) : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> bool
Public Shared Operator <= (left As NFloat, right As NFloat) As Boolean

參數

left
NFloat

要與 right比較的值。

right
NFloat

要與 left比較的值。

傳回

如果 left 小於或等於 right,則為 true;否則為 false

實作

適用於