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

toDecimal function is not working for Indonesian users



toDecimal function is unable to convert the string to decimal properly when the user locale is set to Indonesia. 
Might be same issue with other locales as well.

Error Messages

Extra zeros are getting appended with premium values for Bahasa language.

Steps to Reproduce

1) Set the locale to in_ID.
2) Create a Activity/DataTransform rule that uses toDecimal function. 
3) Observe the result. 

Root Cause

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

toDecimal RUF is considering user locale while converting string to decimal. This is causing issue in conversion.


This issue is resolved by hotfix item 


Published June 12, 2015 - 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?

Want to help us improve this content?

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