Field: Set Value of a Decimal Field

Use this action to set the name and value of a new or existing field and set the field type to decimal.

This action can help you ensure that a field is in the correct format, before using additional actions that require that format

Use case

This action is often used to transition a field to a decimal in order to use it in a subsequent action. For example, if a set of user-inputted order amounts are sometimes integers, this action can reformat the values before calculating a sum.

How to configure this action

Fields for this action

  • Output field value

    • A decimal or field in {{field-name}} format
  • Output field name

    • The name of the field in which the result should be saved. The step name is used by default.
  • Output decimal places

    • To round the number, enter the number of decimal places
    • Leave blank to leave the decimal places unchanged

What will this output?

The Output field name will display the Output field value to the number of decimal places specified by the Output decimal places.