|
|
|
Function
|
What It Does
|
Comments
|
|
Abs(number)
|
Returns the Absolute Value of number
|
The data type of the value returned is identical to that of number
|
|
Atn(number)
|
Returns a Double value which is the arctangent of number in radians
|
|
|
Cos(number)
|
Returns a Double value which is the cosine of number in radians
|
|
|
Exp(number)
|
Returns a Double value of e (2.718282) raised to the power of the argument
|
If the value of the number is greater than 709.782712893, an error is generated
|
|
Fix(number)
|
Returns the integer portion of number as an Integer value
|
If the number is negative, it returns the first negative integer greater than or equal to the number
|
|
Log(number)
|
Returns a Double value which represents the natural logarithm (base e) of number
|
|
|
Partition(number, start, _
stop, interval)
|
Returns a Variant describing a range of numbers in which the number argument falls.
|
startandstop specify the overall range of numbers, split up into smaller ranges as specified by the intervalargument. Partition returns a string representation of the smaller range in which the number is found, such as " 1: 10" for a number that falls in the range of 1 to 10.
|
|
Randomize [number]
|
Initializes the random number generator, using number as a seed value.
|
If number is omitted, a value returned by the system timer is used as the seed value.
|
|
Round(expression _ [numdecplaces])
|
Rounds a numeric expression
|
Optional numdeplaces indicates how many places to the right of the decimal point the number should be rounded to. If numdeplaces is not specified, the number is rounded to an integer.
|
|
Rnd(number)
|
Returns a Single value that's a randomly generated number less than 1 but greater than or equal to zero.
|
number (optional) determines how Rnd generates the random number. Each time the same seed number is used, the same sequence of numbers is returned.
|
|
Sgn(number)
|
Returns a Variant that 's the sign of number.
|
|
|
Sin(number)
|
Returns a Double value that' s the sine in radians of a given angle (specified by number).
|
|
|
Sqr(number)
|
Returns a Double value that' s the square root of number.
|
|
|
Tan(number)
|
Returns a Double value that' s the tangent in radians of a given angle (specified by number).
|
|