ln

Returns the natural logarithm of a specified number in Salesforce Spiff. The natural logarithm is based on the mathematical constant e, the value of which is approximately 2.72.

Required Editions

Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions
Available for an additional cost in: Professional Edition with Web Services API Enabled

Syntax

ln(number)

Arguments

Argument Required? Description
number Required Any number or number field value, including numbers formatted as currency.