Share via


Math.Abs Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(Decimal) Returns the absolute value of a Decimal number.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(Double) Returns the absolute value of a double-precision floating-point number.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(Int16) Returns the absolute value of a 16-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(Int32) Returns the absolute value of a 32-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(Int64) Returns the absolute value of a 64-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(SByte) Returns the absolute value of an 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Abs(Single) Returns the absolute value of a single-precision floating-point number.

Top

See Also

Reference