Export (0) Print
Expand All

BigInteger.Abs Method

Gets the absolute value of a BigInteger object.

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

public static BigInteger Abs(
	BigInteger value
)

Parameters

value
Type: System.Numerics.BigInteger
A number.

Return Value

Type: System.Numerics.BigInteger
The absolute value of value.

The absolute value of a number is that number without its sign, as shown in the following table.

value parameter

Return value

value >= 0

value

value < 0

value * -1

The Abs method is equivalent to the Math.Abs method for the primitive numeric types.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft