Auf Englisch lesen Bearbeiten

Freigeben über


Decimal.IsNegative(Decimal) Method

Definition

Determines if a value is negative.

public static bool IsNegative (decimal value);

Parameters

value
Decimal

The value to be checked.

Returns

true if value is negative; otherwise, false.

Implements

Remarks

A return value of false does not imply that IsPositive(TSelf) will return true. A complex number, a + bi for non-zero b, is not positive or negative

Applies to

Produkt Versionen
.NET 7, 8, 9