NAnt SDK Documentation - v0.92 |

# MathFunctions.Abs Method

Returns the absolute value of the specified number

[Visual Basic]
<Function(Name:="abs")>
Public Shared Function Abs( _
ByVal value As Double _
) As Double
[C#]
[Function(Name="abs")]
public static double Abs(
double value
);

#### Parameters

value
  value to take the absolute value from

#### Return Value

value when value is greater than or equal to zero; otherwise, -value.

#### See Also

MathFunctions Class | NAnt.Core.Functions Namespace