Support Article
Default rounding mode
SA-287
Summary
The system error log is reporting that the default rounding mode is set to half-even.
Error Messages
[7/22/14 17:35:00:230] 0000000a SystemErr R PRPC default rounding mode set to HALF_EVEN
Steps to Reproduce
Not Applicable
Root Cause
The system is working as designed.
Resolution
The explanation for this behavior is as follows: If the rounding mode is not specified, then the default rounding mode of HALF_EVEN is used, which is the recommended value. It can be overridden in the prconfig.xml file or through a Dynamic System settings. To change the setting perform one of the following:
1. Add a prconfig setting of with the name "initialization/decimalformat/defaultroundingmode"
2. Add a Data-Admin-System-Setting in the ruleset "Pega-Engine", named "prconfig/initialization/decimalformat/defaultroundingmode/default"
Published March 8, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.