Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 2.5.


Syntax

log(number, base)

Description


Excerpt

Returns the logarithm of a number to the base you specify.


Parameters

ParameterTypeRequiredDescription
numberNumberYesPositive real number you want the logarithm for.
baseNumberYesBase of the logarithm.


Return type

number

Example

Code Block
number a = log(100, 10); print("a= " + a); number b = log(8, 2); print("b= " + b);

Prints:

        a= 2;

        b= 3;

See also

Content by Label
showLabelsfalse
showSpacefalse
cqllabel = "math_routines"
labelsmath_routines