title: Python setting Decimal Place range without rounding?
body: <p>How can I take a float variable, and control how far out the float goes without round()? For example. </p>
  
  <pre><code>w = float(1.678)
  </code></pre>
  
  <p>I want to take x and make the following variables out of it. </p>
  
  <pre><code>x = 1.67
  y = 1.6
  z = 1
  </code></pre>
  
  <p>If I use the respective round methods:</p>
  
  <pre><code>x = round(w, 2) # With round I get 1.68 
  y = round(y, 1) # With round I get 1.7
  z = round(z, 0) # With round I get 2.0
  </code></pre>
  
  <p>It's going to round and alter the numbers to the point where there no use to me. I understand this is the point of round and its working properly. How would I go about getting the information that I need in the x,y,z variables and still be able to use them in other equations in a float format?</p>