Check if a number is int or float
<p>Here's how I did it:</p>

<pre><code>inNumber = somenumber
inNumberint = int(inNumber)
if inNumber == inNumberint:
    print "this number is an int"
else:
    print "this number is a float"
</code></pre>

<p>Something like that.<br>
Are there any nicer looking ways to do this?</p>
