Lezen in het Engels Bewerken

Delen via


Decimal.Abs(Decimal) Method

Definition

Computes the absolute of a value.

public:
 static System::Decimal Abs(System::Decimal value) = System::Numerics::INumberBase<System::Decimal>::Abs;
public static decimal Abs(decimal value);
static member Abs : decimal -> decimal
Public Shared Function Abs (value As Decimal) As Decimal

Parameters

value
Decimal

The value for which to get its absolute.

Returns

The absolute of value.

Implements

Applies to

Product Versies
.NET 7, 8, 9, 10