A few words of thanks would be greatly appreciated.

Native functions in VBScript: Mathematical functions

Abs(number)Returns the absolute value of a number.
Atn(number)Returns the arctangent of a number.
Cos(number)Returns the cosine of a number.
Exp(number)Returns the exponential of a number.
Fix(number)Returns the integer part by truncating the decimal part..
Int(number)Returns the largest integer, less than or equal to a number.
Log(number)Returns the natural logarithm (base e).
Rnd[(number)]Positive random value less than 1. Before calling Rnd, it is necessary to call the Randomize statement to initialize the random number generator.
Round(number)Rounds a specified number of decimal places.
Sgn(number)Returns the value of the sign (1, 0 or -1).
Sin(number)Returns the sine value.
Sqr(number)Returns the square root of the value.
Tan(number)Returns the tangent value.

Original document published CommentcaMarche.net.

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.


This document, titled "Native functions in VBScript: Mathematical functions," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).