title: How to print decimal notation rather than scientific notation in Python?
body: <p>Assume to have this number:</p>
  
  <pre><code>p=0.00001
  </code></pre>
  
  <p>Now, if we print this variable we get <code>1e-05</code> (i.e., that number in scientific notation). How can I print exactly <code>0.00001</code> (i.e., in decimal notation)? Ok, I know I can use <code>format(p, '.5f')</code>, but the fact is that I don't know in advance the number of decimal digits (e.g., I may have <code>0.01</code> or <code>0.0000001</code>, etc.). Therefore, I could count the number of decimal digits and use that in the <code>format</code> function. In doing so, I have a related problem... is there any way to count the decimal digits of a decimal number without using <code>Decimal</code>?</p>