Campbell-scientific CR1000 Measurement and Control System Manual do Utilizador Página 498

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 497
Appendix A. CRBasic Programming Instructions
498
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)
Vista de página 497
1 2 ... 493 494 495 496 497 498 499 500 501 502 503 ... 587 588

Comentários a estes Manuais

Sem comentários