Numeric Operation

You are currently viewing the documentation for a pre-release version (2.2.0). To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Function

This Step is used to perform numeric operations such as addition, subtraction, multiplication, and division on input values.

Usage Scenario

This Step is a general numeric operation Step where the first operand is added to, subtracted by, multiplied by, or divided by the second operand.

If you need to perform complex numeric operations, you can use the Calc Results by Python Step.

Input and Output

Input

Input ports Data type Description

First Operand

Number[]

The list of numbers input to this port will be used for the operation.

Second operand

Number[]

The list of numbers input to this port will be used for the operation (optional). If no data is input to this port, the **Predefined Operand** set in the Step parameters will be used.

Output

Output ports Data type Description

Result

Number[]

The results of the numeric operation.

Parameter Description

Parameter Description

Operation Type

Parameter description: This parameter is used to select the type of numeric operation.
Value list: Add, Minus, Multiply, Divide, CalcAbsValue, CalcSignValue, Floor, Ceil, Round, Reciprocal
Default value: Add

Predefined Operand

Parameter description: When no data is input to the second input port of this Step, this parameter can be used to specify a value for the operation with the value input to the first input port.
Default value: 1.0000

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.