Articles in this section

How to format the result of a formula field?

Published:

A formula field calculates its value from other fields. You can show the result as a number, an amount of money, or a date and time. For example, a formula that adds two prices can show $ 1,250.00 instead of 1250.

Set the format type

  1. Add a Formula field and create its formula.
  2. In the field settings, choose a Format type:
    • Number: Click Set number format, choose your options, and click Apply.
    • Currency: Click Set currency format, choose your options, and click Apply.
    • Date and Time Format: Choose a date format, such as MM/dd/yyyy, and a time format, such as hh:mm tt. To show only the date, set the time format to None.
    • None: Shows the result as it is calculated. This is the default.

Formula field settings with the Format type dropdown

The number and currency options are the same as for text box fields. For details, see How to format numbers in a text box field and How to format currency in a text box field.

Where is Decimal precision?

The Decimal precision option has been removed from the Formula Builder. To choose how many decimals the result shows:

  1. Set Format type to Number or Currency.
  2. Click the set number format.
  3. Set Digit grouping, Decimal places and Decimal seperator.

Formula fields that already used Decimal precision keep their number of decimals. If you set one of them to Number or Currency, Decimal starts at the same value.

Self-signed documents don’t have format types, so the Formula Builder still shows Decimal precision when you sign a document yourself.

Why do I see “Invalid format type”?

The format type must suit the result of the formula:

  • Number and Currency need a result that is a number.
  • Date and Time Format needs a result that is a date.

For example, if the formula returns a date and the format type is Number, you see “Invalid format type”. To fix it, change the format type or the formula.

A formula that returns true or false, such as [Amount] > [Limit], can’t be formatted. Set its format type to None.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied