math::round

Rounds the value to the nearest whole number
double math::round(value)

Parameters

Name Type Description
value double Number to be rounded, can be anything convertible to a double.

Return Value

Rounded value.

Requirements

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