Abs()
Contents
[
Hide
]Math::Abs(T) method
Returns the absolute value of the specified value.
template<class T> static T System::Math::Abs(T value)
Template parameters
Parameter | Description |
---|---|
T | The type of the value accepted by the method as an argument |
Arguments
Parameter | Type | Description |
---|---|---|
value | T | A value of arithmetic type |
Return Value
The absolute value of value
Math::Abs(const Decimal&) method
Returns the absolute value of a value represented by the specified Decimal object.
static Decimal System::Math::Abs(const Decimal &d)
Arguments
Parameter | Type | Description |
---|---|---|
d | const Decimal& | A Decimal object |
Return Value
The Decimal object representing the absolute value of the value represented by value
See Also
- Class Decimal
- Struct Math
- Namespace System
- Library Aspose.Slides