How it works

The Instruction operation "quotient" performs an arithmetic divide across all the input parameters returning the quotient. Arithmetic is performed accumulatively first to last.

"Quotient" Examples

Example 1: Basic operation

The example below shows a simple division with quotient 5. So 10 / 5 = 2 Quotient = 5.

<instruction operation="quotient">
	<input value="10" />
	<input value="2" />
</instruction>
5

Example 2: Quotient with remainder

The example below shows a simple division with quotient 3. The quotient operation always returns an integer, if there is a remainder it will be ignored. So 10 / 3 = 3 Quotient = 3 and remainder 1, which is ignored.

<instruction operation="quotient">
	<input value="10" />
	<input value="3" />
</instruction>
3



Last Modified: Thu, 15 Jan 2015