SYNTAX

<Number>.ln

Returns a Decimal value equal to the natural logarithm (base e) of <Number>. If <Number> is equal to 0 (zero), an error is returned when the rule is executed. This error will halt execution for all data present.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

The following Rulesheet uses .ln to calculate the natural logarithm of decimal2 and assign it to decimal1.

A sample Ruletest provides results for three examples of decimal2. Input and Output panels are shown below:

Note: In a case where the rule encounters 0.ln, it throws an exception that halts execution. That's because the value of 0.ln is undefined. If the rule is executing against multiple entities, the arbitrary order of execution might be different on subsequent runs before execution is halted.