Appendix A. CRBasic Programming Instructions
EXP
Returns e (the base of natural logarithms) raised to a power.
Syntax
x = EXP(source)
Floor
Rounds a value to a lower integer.
Syntax
variable = Floor(Number)
FRAC
Returns the fractional part of a number.
Syntax
x = FRAC(source)
INT or FIX
Return the integer portion of a number.
Syntax
x = INT(source)
x = Fix(source)
INTDV
Performs an integer division of two numbers.
Syntax
X INTDV Y
LN or LOG
Returns the natural logarithm of a number. Ln and Log perform the same
function.
Syntax
x = LOG(source)
x = LN(source)
Note LOGN = LOG(X) / LOG(N)
LOG10
The LOG10 function returns the base-ten logarithm of a number.
Syntax
x = LOG10 (number)
MOD
Modulo divide. Divides one number into another and returns only the remainder.
569