math::abs

Returns the absolute value of the specified number

Usage

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 (0.92.4543.0)