Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice