*Math Keywords*

Back to the start


Abs
ACos
ASin
ATan
Cos
Int
LN
Log
Max
Min
Round
Sin
Sqrt
Tan



Abs Top

Returns the absolute value of a given number.
Syntax: Abs (Number)

Example: x = Abs (-4)
Result: x = 4

ACos Top

Returns the angle (in radians) that correlate with a given number.
Syntax: ACos (Number)

To convert from radians to degrees, multiply by 180 / cPI

ASin Top

Returns the angle (in radians) that correlate with a given number.
Syntax: ASin (Number)

To convert from radians to degrees, multiply by 180 / cPI

ATan Top

Returns the angle (in radians) that correlate with a given number.
Syntax: ATan (Number)

To convert from radians to degrees, multiply by 180 / cPI

Cos Top

Returns the number correlated with a given angle (in radians).
Syntax: Cos (Radians)

To convert from degrees to radians multiply by cPI / 180

Int Top

Returns the integer part from a number.
Syntax: Int (Number)
Example: a = Int (4.8)
Result: a = 4

LN Top

Returns the base e logarithm of a given number.
Syntax: LN (Number)

Log Top

Returns the base 10 logarithm of a specified number.
Syntax: Log (Number)

Max Top

Returns the larger of two numbers.
Syntax: Max (Number, Number)
Example: a = Max (12, 33)
Result: a = 33

Min Top

Returns the smaller number of two numbers.
Syntax: Min (Number, Number)
Example: a = Min (12,33)
Result: a = 12

Round Top

Returns a rounded number from a number with a specified number of digits.
Default number of digits is 0.
Syntax: Round (Number [,Number of digits])
Example: Msgbox (Round (4.8))
Result: Displays 5

Sin Top

Returns the number correlated with the given angle (in radians).
Syntax: Sin (Radians)
To convert from degrees to radians multiply with cPI / 180

Sqrt Top

Returns the square root of the given number.
Syntax: Sqrt (Number)
Example:
Msgbox(Sqrt(16))

Will display 4.

Tan Top

Returns the number correlated with a given angle (in radians).
Syntax: Tan (Radians)
To convert from degrees to radians multiply by cPI / 180