Configure custom number decimals

Custom number decimals control how numerical values are displayed by defining the number of decimal places and the decimal separator. This ensures numerical values are displayed in the required format. You can select Number Custom Decimals when the predefined decimal formatter options in Formatter do not provide sufficient precision/control.

Business use cases

Custom number decimal formatting ensures consistent numeric display. Key scenarios include:

  • Financial data display: Control decimal precision for prices, costs, or totals.

  • Measurement accuracy: Display numerical values with appropriate precision for technical or scientific data.

  • Regional formatting: Adapt decimal separators to match locale-specific conventions or integration requirements.

Procedure

The following procedure uses the example of a purchase order summary to demonstrate formatting displayed numerical values such as prices, costs, and totals.

  1. In the Application tree, select the numerical field to format, such as Unit Price, Tax Amount, or Order Total.

    The field type must be Display.
  2. In the Settings/properties pane, select FormatterNumber Custom Decimals.

  3. In Decimal, define the number of decimal places to display.

    Example: Set Decimals to 2 for the Unit Price field.

    Result: A value of 12.5 is displayed as 12.50.

    Example: Set Decimals to 4 for a Measurement Value field.

    Result: A value of 3.141592 is displayed as 3.1416.

  4. In Decimal Separator, select how the decimal separator should be displayed:

    1. Browser Default: Uses the user’s locale settings

      Example: 1234.5 is displayed according to the user’s locale (for example, 1,234.50 or 1.234,50).

    2. Comma: Displays decimals using a comma.

      Example: 1234.5 is displayed as 1.234,50.

    3. Point: Displays decimals using a point.

      Example: 1234.5 is displayed as 1,234.50.

  5. In the Shell bar, select Save.

  6. In the Preview pane, confirm that the numerical values are displayed with the intended precision and separator.

Result

  • You have configured custom decimal formatting to control numeric precision and decimal separators for displayed values.