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 breaks and performs localized conversions



Localization issue in the application is observed. During calculation of premium values, extra zeros are getting appended to the actual value.
The toDecimal function is broken and performs localized conversions.

Error Messages

Not Applicable

Steps to Reproduce

1. Set the locale to in_ID.
2. Create an Activity or a DataTransform rule that uses toDecimal function. 

Root Cause

“toDecimal” RUF considers user locale while converting string to decimal. This causes issue in conversion. 


Install HFix-23974 which contains changes to RUF. Regenerate String library.
Suggest Edit

Published September 23, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

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.

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