NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Math.Abs (Int64)

Returns the absolute value of an integer.

[Visual Basic]
Overloads Public Shared Function Abs( _
   ByVal value As Long _
) As Long
[C#]
public static long Abs(
   long value
);
[C++]
public: static __int64 Abs(
   __int64 value
);
[JScript]
public static function Abs(
   value : long
) : long;

Parameters

value
A number in the range MinValue value MaxValue.

Return Value

Returns x, the absolute value of value, such that 0 x MaxValue.

Exceptions

Exception Type Condition
OverflowException if value equals MinValue.

See Also

Math Class | Math Members | System Namespace | Math.Abs Overload List