title: How do I format a currency with commas and 2 decimal places?
body: <p>I am trying to format some numbers as a currency, with commas and 2 decimal places. I've found "github.com/dustin/go-humanize" for the commas but it doesn't allow for specifying the number of decimal places. fmt.Sprintf will do the currency and decimal formatting but not the commas. </p>
  
  <pre><code>for _, fl := range []float64{123456.789, 123456.0, 123456.0100} {
      log.Println(humanize.Commaf(fl))
    }
  </code></pre>
  
  <p>Results:</p>
  
  <pre><code>123,456.789
  123,456
  123,456.01
  </code></pre>
  
  <p>I am expecting:</p>
  
  <pre><code>$123,456.79
  $123,456.00
  $123,456.01
  </code></pre>