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

quotient

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

Description

Returns the result of dividing the first operand by one or more operands. Prefix form of the / arithmetic operator.

Arguments

n_op1

Dividend.

n_op2

Divisor.

n_op3

Optional additional divisors for multiple divisions.

Value Returned

n_result

Result of the operation.

Examples

quotient(5 4 3 2 1) 
=> 0
quotient(-10 -2)    
=> 5
quotient(10.8 -2.2) 
=> -4.909091

Related Topics

xquotient


Return to top
 ⠀
X