Seeking Solution: Conditional Decimal Precision in Quote Line Items for UX

Hi all,

We've adjusted the "Precision" in Quote Line Items to "2" for inputs like 1.6, which fixed our exporting of reports rounding issue (ie: was originally rounding up or down to the closest whole number - no more rounding up to 2). However, this makes our UI look cluttered, as it shows two decimal places (e.g., 1.00) even when not necessary. We'd prefer if decimals only showed for non-whole numbers to keep the UI clean.

Has anyone found a workaround or solution for displaying conditional decimal precision? Any advice or references would be greatly appreciated!

Parents
  • Hi  

    All numeric fields inherit from field templates, where the decimal precision are defined. In order to "conditionally" display a specific number of decimal places, you need to setup some specific field templates accordingly.

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Hi  

    All numeric fields inherit from field templates, where the decimal precision are defined. In order to "conditionally" display a specific number of decimal places, you need to setup some specific field templates accordingly.

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children