Export (0) Print
Expand All

Math.Abs Method

Returns the absolute value of a specified number.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Abs(Decimal) Returns the absolute value of a Decimal number.
Public method Static member Abs(Double) Returns the absolute value of a double-precision floating-point number.
Public method Static member Abs(Int16) Returns the absolute value of a 16-bit signed integer.
Public method Static member Abs(Int32) Returns the absolute value of a 32-bit signed integer.
Public method Static member Abs(Int64) Returns the absolute value of a 64-bit signed integer.
Public method Static member Abs(SByte) Returns the absolute value of an 8-bit signed integer.
Public method Static member Abs(Single) Returns the absolute value of a single-precision floating-point number.
Top
Show:
© 2014 Microsoft