Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Numeric expressions

Updated on October 19, 2022

Numeric expressions let you perform standard mathematical functions in a solution such as multiplication, addition, and so on.

When you place the numeric expression component on an automation, a design block containing input for the initiating event and output result are contained within the block, along with an entry field where you specify the expression. Expressions of undefined and defined Numeric Expression blocks are shown here:

Numeric expressions

Complete the expression by typing a numeric expression to evaluate.

Properties

PropertyDescription
DecimalsThe number of significant digits (precision) for the results of the expression.
ErrorsFor invalid expressions, messages regarding the invalid context display in this property.
Expression

The numeric expression to perform. This component supports simple mathematical functions such as:

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
ValidDisplays a value of True or False indicating whether the syntax of the expression is accepted by Studio.

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us