New in version 3.2.
Calculates the natural logarithm ln (i.e loge) of a number and returns the result as a double.
$lnhas the following syntax:
$lnis equivalent to
$log: [ <number>, Math.E ]expression, where
If the argument resolves to a value of
null or refers to a field that is missing,
null. If the argument resolves to
sales contains the following documents:
The following example transforms the
The operation returns the following results: