Support Article
toDecimal function is not working for Indonesian users
SA-9662
Summary
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.
Resolution
This issue is resolved by hotfix item
HFix-21928
Published June 12, 2015 - 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.