
Appendix A. CRBasic Programming Instructions
501
INTDV
Performsanintegerdivisionoftwonumbers.
Syntax
X INTDV Y
LNorLOG
Returnsthenaturallogarithmofanumber.LnandLogperformthesame
function.
Syntax
x = LOG(source)
x = LN(source)
Note LOGN = LOG(X) / LOG(N)
LOG10
TheLOG10functionreturnsthebase‐10logarithmofanumber.
Syntax
x = LOG10 (number)
MOD
Modulodivide.Dividesonenumberintoanotherandreturnsonlythe
remainder.
Syntax
result = operand1 MOD operand2
PWR
Performsanexponentiationonavariable.Samefunctionalityas^operator
(6.6.1).
Syntax
PWR(X, Y)
RectPolar
Convertsfromrectangulartopolarcoordinates.
Syntax
RectPolar(Dest, Source)
Round
Roundsavaluetoahigherorlowernumber.
Syntax
variable = Round (Number, Decimal)
SGN
Findsthesignvalueofanumber.
Syntax
x = SGN(source)
Sqr
Returnsthesquarerootofanumber.
Syntax
x = SQR(number)
Comentarios a estos manuales