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

OOTB Round to digits function is not working as epxpected



User using round(...) function in expression builder. While validating the expression, they are getting the alert error message on screen.

Error Messages

Expression is not valid. Error messages are shown below.
Invalid Expression or reference: No suitable instance found
[candidate function are]

Steps to Reproduce

  1. Open any declare expression > Expression Builder
  2. Select All from library and select round(...) from function
  3. Give the input values for numericArg (BigDecimal) & places (Number) 
  4. Insert > Validate

Root Cause

A defect in Pegasystems’ code or rules. The round function parameters type "Number"(Java type) doesn't support with our engine.


Apply HFIX-30101
In expresion builder, use pzRound(...) function instead of round(...) function.

Published October 27, 2016 - 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