Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

plus

plus( 
n_op1 
n_op2 
[ n_op3 ... ] 
) 
=> n_result

Description

Returns the result of adding one or more operands to the first operand. Prefix form of the + arithmetic operator.

Arguments

n_op1

First number to be added.

n_op2

Second number to be added.

n_op3

Optional additional numbers to be added.

Value Returned

n_result

Sum of the numbers.

Examples

plus(5 4 3 2 1) 
=> 15
plus(-12 -13)   
=> -25
plus(12.2 13.3) 
=> 25.5

Related Topics

xplus


Return to top
 ⠀
X