A brief description of the math functions available in VBScript.

Atn(number) Returns the arctangent of a number. Cos(number) Returns the cosine of an angle. Fix(number) Returns the integer portion of a number. Join(list[, delimiter]) Returns a string created by joining a number of substrings contained in an array. LBound(arrayname[, dimension]) Returns the smallest available subscript for the indicated dimension of an array. LoadPicture(picturename) Returns a picture object. Available only on 32-bit platforms. Log(number) Returns the natural logarithm of a number. Oct(number) Returns a string representing the octal value of a number. ScriptEngine Returns a string representing the scripting language in use (VBScript, Jscript, VBA). ScriptEngineBuildVersion Returns the build version number of the scripting engine in use. ScriptEngineMajorVersion Returns the major version number of the scripting engine in use. ScriptEngineMinorVersion Returns the minor version number of the scripting engine in use. Sgn(number) Returns an integer indicating the sign of a number. Sin(number) Returns the sine of an angle. Space(number) Returns a string consisting of the specified number of spaces. Returns a zero-based, one-dimensional array containing a specified number of substrings. Tan(number) Returns the tangent of an angle. TypeName(varname) Returns a string that provides Variant subtype information about a variable. VarType(varname) Returns a value indicating the subtype of a variable.

*“I don't know the key to success, but the key to failure is trying to please everybody” - Bill Cosby *

Other sources of VBScript help...