title: Getting decimals from python math function?
body: <p>I'm a bit new to python and can't seem to figure out what I'm doing wrong.</p>
  
  <pre><code>a = 9
  b = 13
  print ((a-b)/a)
  -1
  </code></pre>
  
  <p>But on my calculator, the correct answer is -0.444444444 (meaning 'a' is about 45% lower than 'b').
  How can I get a few decimals to show up?</p>
  
  <p>I tried </p>
  
  <pre><code>print Decimal((a-b)/a)
  print float((a-b)/a)
  </code></pre>
  
  <p>both with the same result.  it works if I make a = 9.0 but I wanted to see if there was anything I can do without changing the variables. </p>
  
  <p>I'm sure this is super easy but I'm not sure what to try. Any suggestions?</p>
  
  <p>Thanks</p>