title: C++ currency output
body: <p>I am taking a C++ course right now and have completed my final assignment. However there is one thing that is bugging me:</p>
  
  <p>Though I have the correct outputs for the testing on a particular output, the <code>basepay</code> should be <code>133.20</code> and it is displaying as <code>133.2</code>. Is there a way to have this display the extra 0 rather than leaving it off? </p>
  
  <p>Anyone know if it's possible and how to do it? Thank you in advance</p>
  
  <p>My code is below:</p>
  
  <pre><code>cout&lt;&lt; "Base Pay .................. = " &lt;&lt; basepay &lt;&lt; endl;
  cout&lt;&lt; "Hours in Overtime ......... = " &lt;&lt; overtime_hours &lt;&lt; endl;
  cout&lt;&lt; "Overtime Pay Amount........ = " &lt;&lt; overtime_extra &lt;&lt; endl;
  cout&lt;&lt; "Total Pay ................. = " &lt;&lt; iIndividualSalary &lt;&lt; endl;
  cout&lt;&lt; endl;
  
  cout&lt;&lt; "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" &lt;&lt;endl;
  cout&lt;&lt; "%%%% EMPLOYEE SUMMARY DATA%%%%%%%%%%%%%%%%%%%%%%%" &lt;&lt;endl;
  cout&lt;&lt; "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" &lt;&lt;endl;
  cout&lt;&lt; "%%%% Total Employee Salaries ..... = " &lt;&lt; iTotal_salaries &lt;&lt;endl;
  cout&lt;&lt; "%%%% Total Employee Hours ........ = " &lt;&lt; iTotal_hours &lt;&lt;endl;
  cout&lt;&lt; "%%%% Total Overtime Hours......... = " &lt;&lt; iTotal_OvertimeHours &lt;&lt;endl;
  cout&lt;&lt; "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" &lt;&lt; endl;
  cout&lt;&lt; "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" &lt;&lt; endl;
  </code></pre>