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

Error with decimal property when operator has nl_NL locale

SA-1930

Summary



I have an operator with nl_NL locale setting in the operator profile.
I have a property of type decimal. When I enter a decimal value in the property field which is of type currency, the value is getting converted.

The Dutch convention of decimal is 1200,00 (a comma is used as separator instead of dot, so the amount is twelve hundred euros).

This value is getting converted into English denomination when I click on submit & move to next screen. The value becomes 120.000,00 (which is one hundred and twenty thousand euros). The value is getting multiplied by 100 & getting converted.

Error Messages



If there are any calculations & declare expressions based on the value of this decimal property, this conversion is causing the amounts to be multiplied by 100. This would lead to the customer seeing incorrect amounts on the screen & the loan amounts will be quite high.


Steps to Reproduce



- Make an operator with nl_NL locale setting in the profile.
- Create a property of type decimal & add it in a screen.
- In the section, make the property field of type pxCurrency 
- In the run time of a flow, add this section to a flow action.
- Add the same property, in another screen which is displayed on submitting the flow action.
- Enter a decimal value(1253,22) in the property field & click on submit.
- When we move to the next screen, the value is displayed as 125.322,00 ( the value is getting multiplied by 100).


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules.



Resolution



This issue is scheduled to be resolved in Maintenance Level (ML) release 7.1.7 via issue reference 
171493.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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
Contact us