INumberBase<TSelf>.Abs(TSelf) Metod

Definition

Beräknar det absoluta värdet.

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

Parametrar

value
TSelf

Det värde som det absoluta värdet ska hämtas för.

Returer

TSelf

Det absoluta av value.

Undantag

Det absoluta av value kan inte representeras av TSelf.

Gäller för