Method Abs
- Namespace
- Alternet.UI.Extensions
- Assembly
- Alternet.UI.Common.dll
Abs(double)
Returns the absolute value of a double-precision floating-point number. Same as Abs(double).
public static double Abs(this double value)
Parameters
value
doubleA number that is greater than or equal to MinValue, but less than or equal to MaxValue.
Returns
- double
A double-precision floating-point number, x, such that 0 ≤ x ≤ double.MaxValue.
Abs(float)
Returns the absolute value of a single-precision floating-point number. Same as Abs(float).
public static float Abs(this float value)
Parameters
Returns
- float
A single-precision floating-point number, x, such that 0 ≤ x ≤ float.MaxValue.