 <p>Dividing with a float 100. value should covert it into a float. After that, it's only a matter of formatting to display it the way you like.</p> <pre><code>$ python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; number = 99990 &gt;&gt;&gt; print("{0:.2f}".format(number / 100.)) 999.90 </code></pre>