<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="*" module="max" category="Math">
	<digest>
		Multiply two numbers
	</digest>
	<description>
		Multiplies two numbers together, and outputs the result upon receiving input in the left inlet.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Math
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Set Left Operand, Trigger the Calculation
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Set Right Operand
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Result = Left * Right
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial" optional="1" type="int or float">
			<digest>
				Initial multiplier
			</digest>
			<description>
				Sets the initial value, to be multiplied by a number received in the left inlet. A float argument causes the numbers to be multiplied as floats.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output most recent calculation
			</digest>
			<description>
				Performs the multiplication with the numbers currently stored. If there is no argument, <o>*</o> initially holds <m>0</m> as a multiplier.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Multiply and output results
			</digest>
			<description>
				The number is multiplied by the number in the right inlet, and the result is sent out the outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Multiply and output results
			</digest>
			<description>
				Converted to <m>int</m> before multiplication, unless <o>*</o> has a float argument.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="multiplier" optional="0" type="int" />
			</arglist>
			<digest>
				Set multiplier
			</digest>
			<description>
				In right inlet: The number is stored for multiplication with a number received in the left inlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Multiply with no output
			</digest>
			<description>
				The word <m>set</m>, followed by a number, sets the inlet's input without causing output.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Set both values, output calculation
			</digest>
			<description>
				In left inlet: The first number is multiplied by the second number, and the result is sent out the outlet.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="times.png" caption="Multiplied as ints... Floats are truncated before multiplication... ...unless there is a float argument" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="basicchapter06" module="max" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="int">
			<description>
				The product of the two numbers received in the inlets.
			</description>
		</entry>
		<entry name="float">
			<description>
				Only if there is an argument with a decimal point.
			</description>
		</entry>
	</misc>
</c74object>
