memberlogin
contactus
randomfacts

Rounding numbers in vbscript

The round function in vbscript makes it easy to round numbers off to a specific decimal place.  The function takes 2 parameters - the number to round off and the number of decimal places to round to.  By default it will round off to an integer.

Round(1.3456) = 1

Round(1.6544) = 2

Round(-1.877) = -2

Round(-1.234) = -1