INumberBase<TSelf>.IsZero(TSelf) Methode

Definition

Bestimmt, ob ein Wert null ist.

public:
 static bool IsZero(TSelf value);
public static abstract bool IsZero(TSelf value);
static member IsZero : 'Self -> bool
Public Shared Function IsZero (value As TSelf) As Boolean

Parameter

value
TSelf

Der zu überprüfende Wert.

Gibt zurück

true wenn value null ist; andernfalls false.

Hinweise

Diese Funktion behandelt sowohl positive als auch negative Null als Null und wird daher zurückgegeben true für +0.0 und -0.0.

Gilt für: