toDecimal function not working in localization
SummarytoDecimal function is changing the value based on the locale.
When the locale is English the expected value is returned, but when the nl-NL locale is used, value is modified.
Error MessagesNot Applicable
Steps to Reproduce
- Use toDecimal function to set value of a decimal property from another decimal property keeping browser language as en_US.
- Observe the value on screen
- Now change the browser locale to nl_NL and try repeating the same steps and then observe the value.
Root CauseA defect in Pegasystems’ code or rules.toDecimal function is performing localized conversions.
Published May 18, 2017 - Updated June 6, 2017