title: What does $%,.2f represent?
body: <p>I am currently reading the Deitel's book on Java, and came across this code in one of their programs:</p>
  
  <pre><code>public String toString()
  {
    return String.format( "%s: %s\n%s: $%,.2f; %s: %.2f", 
       "commission employee", super.toString(), 
       "gross sales", getGrossSales(), 
       "commission rate", getCommissionRate() );
  }
  </code></pre>
  
  <p>As the title says, what does the "$%," in front of the ".2f" represent? I already know what a .2f means.</p>