| VBScript Reference > Numeric Category |
Functions
|
Abs |
Returns the absolute value of a number |
|
Atn |
Returns the arctangent of a number |
|
Cos |
Returns the cosine of an angle |
|
Exp |
Returns e (the base of natural logarithms) raised to a power |
|
Fix |
Returns the integer portion of a number, rounding up if negative |
|
Int |
Returns the integer portion of a number, rounding down if negative |
|
Log |
Returns the natural logarithm of a number |
|
Rnd |
Returns a random number |
|
Round |
Returns a number rounded to a specified number of decimal places |
|
Sgn |
Returns an integer indicating the sign of a number |
|
Sin |
Returns the sine of an angle |
|
Sqr |
Returns the square root of a number |
|
Tan |
Returns the tangent of an angle |
Operators
|
- |
Used to find the difference between two numbers or to negate a numeric expression |
|
* |
Used to multiply two numbers |
|
/ |
Used to divide two numbers and return a floating point result |
|
\ |
Used to divide two numbers and return an integer result |
|
^ |
Used to raise a number to the power of an exponent |
|
+ |
Used to sum two numbers |
|
Mod |
Used to divide two numbers and return only the remainder |