How to Adjust Rounding of Displayed Outputs

All places where results are presented to a user are rounded to 2 decimal places by default. You can change this rounding setting globally by following these steps:

  1. Navigate to CalculationLogic > AGR_ProcessingLib > elements.

  2. Open MathUtils.groovy.

  3. To set the global rounding, adjust the decimalPlace value within the round() method (default = 2). You can also change roundingMode(default = HALF_UP)

You can modify the rounding for individual outputs separately where the libs.AGR_ProcessingLib.MathUtils.round() method is used.