Campbell CSIOPC Especificaciones Pagina 159

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 322
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 158
Section 10. CRBASIC Programming Instructions
10-21
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)
LOGN = LOG(X) / LOG(N)
LOG10
The LOG10 function returns the base 10 logarithm of a number.
Syntax
x = LOG10 (number)
MOD
Divides two numbers and returns only the remainder.
Syntax
result = operand1 MOD operand2
PWR
Performs an exponentiation on a variable. Same functionality as ^ operator
(6.6.1).
Syntax
PWR (X, Y)
Round
Rounds a value to a higher or lower number.
Syntax
variable = Round (Number, Decimal)
SGN
Finds the sign value of a number.
Syntax
x = SGN (source)
Sqr
Returns the square root of a number.
Syntax
x = SQR (number)
NOTE
Vista de pagina 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 321 322

Comentarios a estos manuales

Sin comentarios