<?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="float" module="max" category="Data">
	<digest>
		Store a decimal number
	</digest>
	<description>
		<o>float</o> can store and output any given floating-point number.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Data
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				bang Outputs Value, int Sets and Outputs Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Set Value Without Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-value" optional="1" type="float">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				Sets an initial value to be stored in <o>float</o>. If there is no argument, the initial value is <m>0.0</m>. A float argument by itself, without the word <m>float</m>, is another way of creating and initializing a <o>float</o> object.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				In left inlet: Sends the stored value out the outlet.
			</digest>
			<description>
				In left inlet: Sends the stored value out the outlet.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Converted to <m>float</m>.
			</digest>
			<description>
				Converted to <m>float</m>.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				In left inlet: The number replaces the currently stored value and is sent out the outlet.
			</digest>
			<description>
				In left inlet: The number replaces the currently stored value and is sent out the outlet.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="set-input" optional="0" type="float" />
			</arglist>
			<digest>
				In right inlet: The number replaces the stored value without triggering output.
			</digest>
			<description>
				In right inlet: The number replaces the stored value without triggering output.
			</description>
		</method>
		<method name="send">
			<arglist>
				<arg name="receive-object-name" optional="0" type="list" />
			</arglist>
			<digest>
				In left inlet: The word <m>send</m>, followed by a name of a <o>receive</o> object, sends the number stored in the <o>float</o> object to all <o>receive</o> objects with that name, without sending it out the <o>float</o> object's outlet.
			</digest>
			<description>
				In left inlet: The word <m>send</m>, followed by a name of a <o>receive</o> object, sends the number stored in the <o>float</o> object to all <o>receive</o> objects with that name, without sending it out the <o>float</o> object's outlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="set-input" optional="0" type="float" />
			</arglist>
			<digest>
				In left inlet: The word <m>set</m>, followed by a number, replaces the stored value without triggering output.
			</digest>
			<description>
				In left inlet: The word <m>set</m>, followed by a number, replaces the stored value without triggering output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="float.png" caption="Output the stored value... Replace stored value and output it..... Initial value is given" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="int" />
		<seealso name="pv" />
		<seealso name="value" />
		<seealso name="basicchapter16" module="max" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="float">
			<description>
				A number is stored in <o>float</o> as a single-precision floating point number. The precision possible in the decimal portion of the number decreases as the integer part increases. Note: Because of the way decimal numbers are stored, a float value saved in a patcher file might be slightly altered when the file is reopened.
			</description>
		</entry>
	</misc>
</c74object>
