title: Python : Conversion of float to string keeping all digits of decimal place
body: <p>I have a task to count the digits after decimal place.</p>
  
  <p>For which I am using the below code :</p>
  
  <pre class="lang-py prettyprint-override"><code>str(string_name)[::-1].find('.')
  </code></pre>
  
  <p>But while converting float to string, it is removing the trailing zeroes :</p>
  
  <pre class="lang-py prettyprint-override"><code>my_string = 16.520440
  print(str(my_string ))
  </code></pre>
  
  <p>output - <code>'16.52044'</code></p>
  
  <p>expected output - <code>'16.520440'</code></p>