title: Formatting Complex Numbers
body: <p>For a project in one of my classes we have to output numbers up to five decimal places.It is possible that the output will be a complex number and I am unable to figure out how to output a complex number with five decimal places. For floats I know it is just:</p>
  
  <p><code>print "%0.5f"%variable_name</code></p>
  
  <p>Is there something similar for complex numbers?</p>