Decimal.Abs(Decimal) 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.
Computes the absolute of a value.
public:
static System::Decimal Abs(System::Decimal value) = System::Numerics::INumberBase<System::Decimal>::Abs;
C#
public static decimal Abs(decimal value);
static member Abs : decimal -> decimal
Public Shared Function Abs (value As Decimal) As Decimal
- value
- Decimal
The value for which to get its absolute.
The absolute of value
.
Produto | Versións |
---|---|
.NET | 7, 8, 9, 10 |
Colaborar con nós en GitHub
A orixe deste contido pódese atopar en GitHub, onde tamén podes crear e revisar problemas e extraer solicitudes. Para obter máis información, consulta a guía para colaboradores.
Comentarios de .NET
.NET é un proxecto de código aberto. Selecciona unha ligazón para ofrecer comentarios: