Loading
Prepare for Email to Become the Default Login ExperienceRead More
Ongoing maintenance for Salesforce HelpRead More
Extend Salesforce with Clicks, Not Code
LOG

LOG

Returns the base 10 logarithm of a number.

Use

LOG(number) and replace number with the field or expression from which you want the base 10 logarithm calculated.

Salary Example
Salary Example

LOG(Salary__c) calculates the logarithm of a person’s salary. In this example, Salary is a custom currency field.

Hydrogen Example
Hydrogen Example

-LOG(Hydrogen__c) calculates the pH and acidity using the LOG function and a custom number field called Hydrogen, which represents the concentration of Hydrogen ions in the liquid measured in moles per liter.

 
Loading
Salesforce Help | Article