EasyManua.ls Logo

Campbell CR850 - Page 476

Campbell CR850
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
476
Floor
Roundsavaluetoalowerinteger.
Syntax
variable = Floor(Number)
FRAC
Returnsthefractionalpartofanumber.
Syntax
x = FRAC(source)
INTorFIX
Returntheintegerportionofanumber.
Syntax
x = INT(source)
x = Fix(source)
INTDV
Performsanintegerdivisionoftwonumbers.
Syntax
X INTDV Y
LNorLOG
Returnsthenaturallogarithmofanumber.LnandLogperformthesame
function.
Syntax
x = LOG(source)
x = LN(source)
Note LOGN = LOG(X) / LOG(N)
LOG10
TheLOG10functionreturnsthebase10logarithmofanumber.
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)

Table of Contents

Related product manuals