Math.Abs Method

 

Returns the absolute value of a specified number.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAbs(Decimal)

Returns the absolute value of a Decimal number.

System_CAPS_pubmethodSystem_CAPS_staticAbs(Double)

Returns the absolute value of a double-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticAbs(Int16)

Returns the absolute value of a 16-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticAbs(Int32)

Returns the absolute value of a 32-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticAbs(Int64)

Returns the absolute value of a 64-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticAbs(SByte)

Returns the absolute value of an 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticAbs(Single)

Returns the absolute value of a single-precision floating-point number.

Return to top
Show: