math::abs

Returns the absolute value of the specified number
double math::abs(value)

Parameters

Name Type Description
value double value to take the absolute value from

Return Value

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

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions