Versions Compared

Key

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

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

ln(number)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).

Returns the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904).

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

number

Number

Yes

The positive real number you want the natural logarithm for.

Return Type

Number

Example

Code Block
languagejs
number a = ln(86);
print("a= " + a);
number b = ln(exp(4));
print("b= " + b);

Prints:
a= 4.454347;
b= 4;

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "math_routine" and space = currentSpace ( )
labelsarray_routines