From http://www.w3schools.com (Copyright Refsnes Data)

VBScript Round Function


VBScript Reference Complete VBScript Reference

The Round function rounds a number.

Syntax

Round(expression[,numdecimalplaces])

Parameter Description
expression Required. The numeric expression to be rounded
numdecimalplaces Optional. Specifies how many places to the right of the decimal are included in the rounding. Default is 0

Example 1

Dim x
x=24.13278
document.write(Round(x))

Output:

24

Example 2

Dim x
x=24.13278
document.write(Round(x,2))

Output:

24.13


VBScript Reference Complete VBScript Reference

From http://www.w3schools.com (Copyright Refsnes Data)