Single.IsPositive(Single) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a value is positive.
public:
static bool IsPositive(float value) = System::Numerics::INumberBase<float>::IsPositive;
public static bool IsPositive (float value);
static member IsPositive : single -> bool
Public Shared Function IsPositive (value As Single) As Boolean
- value
- Single
The value to be checked.
true
if value
is positive; otherwise, false
.
A return value of false
does not imply that IsNegative(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Продукт | Версии |
---|---|
.NET | 7, 8, 9 |
Отзыв о .NET
.NET — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: