How it works

The Instruction operation "multiply" can be used to multiply numerical inputs. Each input is multiplied together.

"Multiply" Examples

Example 1: Integer Multiplication

This example shows a simple integer multiplication:

<instruction operation="multiply">
	<input value="6" />
	<input value="3" />
	<input value="2" />
</instruction>
36

Example 2: Decimal Multiplication

This example shows simple decimal multiplication, notice that the default precision of "0" causes the result to be rounded to an integer:

<instruction operation="multiply">
	<input value="3.1415926" />
	<input value="3.1415926" />
</instruction>
10

Example 3: Decimals with precision

This example shows decimal multiplication as before, but the precision attribute has been used to configure the precisoin of the output:

<instruction operation="multiply" precision="5">
	<input value="3.1415926" />
	<input value="3.1415926" />
</instruction>
9.86960



Last Modified: Thu, 15 Jan 2015