Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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