Popular recipes tagged "iec"http://code.activestate.com/recipes/tags/iec/2008-07-29T07:06:58-07:00ActiveState Code Recipesformat a number for human consumption (Python) 2008-07-29T07:06:58-07:00Pádraig Bradyhttp://code.activestate.com/recipes/users/1890175/http://code.activestate.com/recipes/576385-format-a-number-for-human-consumption/ <p style="color: grey"> Python recipe 576385 by <a href="/recipes/users/1890175/">Pádraig Brady</a> (<a href="/recipes/tags/format/">format</a>, <a href="/recipes/tags/iec/">iec</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/si/">si</a>, <a href="/recipes/tags/thousands/">thousands</a>). </p> <p>convert a number to a string representation that is more easily parsed by humans. It supports inserting thousands separators and converting to IEC or SI units.</p>