Share via


NFloat.IsNegative(NFloat) 方法

定義

判斷指定的值是否為負數。

public:
 static bool IsNegative(System::Runtime::InteropServices::NFloat value) = System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>::IsNegative;
public static bool IsNegative (System.Runtime.InteropServices.NFloat value);
static member IsNegative : System.Runtime.InteropServices.NFloat -> bool
Public Shared Function IsNegative (value As NFloat) As Boolean

參數

value
NFloat

浮點值。

傳回

如果值為負數,則為 true;否則為 false

實作

適用於