NAnt SDK Documentation - v0.92 |

# MathFunctions.Round Method

Rounds the value to the nearest whole number

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

#### Parameters

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

#### Return Value

Rounded value.

#### See Also

MathFunctions Class | NAnt.Core.Functions Namespace