title: How can I format a price to two decimal places?
body: <p>I was having trouble displaying some prices on my website in currency format (2 decimal places). Instead the values were being displayed at 4 decimal places.</p>
  
  <p>Someone edited my original question and made it look terrible which made this post get negative rep!! :(.</p>
  
  <p>Anyways, the answer is described below. Basically insert a function to my php variable. </p>