Skip to main content

Numeric expressions

Suggest edit Updated on November 10, 2021

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.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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