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.91.4312.0)