asp.net.ph

Math.Abs Method ( Int64 )

System Namespace   Math Class


Returns the absolute value of a 64-bit signed integer.

[ VB ]
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 < valueMaxValue.

Return Value

A 64-bit signed integer, x, such that 0 ≤ x ≤ MaxValue.

Exceptions


Exception Type Condition
OverflowException value equals MinValue.

See Also

Math Members   Math.Abs Overload List Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note