Custom formula fields require additional settings, as specified by the Salesforce CRM application, which are carried out using the following steps:
- Create the formula field
- Select the formula return type for the field, which is the calculated data type
- Select a value for the Decimal Places option, which appears when you set the formula return type to be either currency, number, or percent
- Click the Next button to display the Enter formula screen for the formula
When creating formulas that return a number, the Salesforce system applies a tie-breaking rule known as Round-half up. As an example, this tie-breaking rule returns 12.35 for the calculated value of 12.345 and returns−12.34 for the calculated value of −12.345.
Creating basic formulas is shown in the following section.