title: How to show exactly 4 numbers after decimal point without rounding in Python?
body: <p>I want to calculate square root of numbers and print them with exactly 4 numbers after decimal point without rounding. 
  This code rounds the numbers</p>
  
  <pre><code>num="%.4f" % num
  </code></pre>
  
  <p>and this one doesn't show 1.0000 or numbers like this. </p>
  
  <pre><code>num=math.floor(num * 10000)/10000
  </code></pre>