On Thu, Jul 10, 2008 at 11:21 PM, Kent Johnson &lt;<a href="mailto:kent37@tds.net">kent37@tds.net</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Jul 10, 2008 at 4:41 PM, Julia &lt;<a href="mailto:midnightjulia@gmail.com">midnightjulia@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;ve done this:<br>
&gt;<br>
&gt;&gt;&gt;&gt; c = float<br>
&gt;&gt;&gt;&gt; c<br>
&gt; &lt;type &#39;float&#39;&gt;<br>
<br>
</div>This is not needed, Python variables do not have types (it is the<br>
values that have type).<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="Ih2E3d"><br>
&gt;&gt;&gt;&gt; c = 3.3<br>
&gt;&gt;&gt;&gt; c<br>
&gt; 3.2999999999999998<br>
&gt;<br>
&gt; I&#39;ve done it with and without the c = float and still it rounds the number<br>
&gt; down. Why?<br>
<br>
</div>See <a href="http://docs.python.org/tut/node16.html" target="_blank">http://docs.python.org/tut/node16.html</a><br>
<font color="#888888"><br>
Kent</font></blockquote><div><br>Thanks, I&#39;ve just found (what seems to be) a workaround :) <br></div></div><br>