Campbell-scientific CR800 and CR850 Measurement and Control Systems Instrukcja Użytkownika Strona 476

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 475
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)
Przeglądanie stron 475
1 2 ... 471 472 473 474 475 476 477 478 479 480 481 ... 565 566

Komentarze do niniejszej Instrukcji

Brak uwag