asp.net.ph

Math.Abs Method ( Double )

System Namespace   Math Class


Returns the absolute value of a double-precision floating-point number.

[ VB ]
Overloads Public Shared Function Abs ( _
   ByVal value As Double _
) As Double

[ C# ]
public static double Abs (
   double value
);

[ C++ ]
public: static double Abs (
   double value
);

[ JScript ]
public static function Abs (
   value : double
) : double;

Parameters

value
A number in the range MinValue < valueMaxValue.

Return Value

A double-precision floating-point number, x, such that 0 ≤ x ≤ MaxValue.

Remarks

If value is equal to NegativeInfinity or PositiveInfinity, the return value is PositiveInfinity. If value is equal to NaN, the return value is NaN.

See Also

Math Members   Math.Abs Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph