Mathematical and Numeric

Abs Function

Returns the absolute value of a given number

Atn Function

Returns the arctangent of a number

Cos Function

Returns the cosine of an angle

Exp Function

Returns the base of a natural logarithm raised to a power

Fix Function

Returns the integer portion of number

Int Function

Returns the integer portion of a number

Log Function

Returns the natural logarithm of a number

Randomize Statement

Initializes the random number generator

Rnd Function

Returns a random number

Round Function

Rounds a number

Sgn Function

Indicates the sign of a number

Sin Function

Returns the sine of an angle

Sqr Function

Returns the square root of a number

Tan Function

Returns the tangent of an angle

Get VBScript in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.