title: Number pipe either 0 or 2 decimal places
body: <p>I'd like to achieve number formatting such that if the number is round there should be no decimal placeholders <code>.00</code> and otherwise use 2 and only 2 decimal places. For example:</p>
  
  <pre><code>1.23    -&gt; 1.23
  1.23456 -&gt; 1.24
  1.2     -&gt; 1.20
  1.0     -&gt; 1
  1       -&gt; 1
  </code></pre>
  
  <p>According to the docs, you can only specify range of decimal places (e.g. <code>|number:'.0-2'</code>) and not specific choice (e.g. <code>|number:'.0,2'</code>); am i right or is there a way?</p>
  
  <p>I'm aware I could achieve the same with some <code>*ngIf</code>-s but would like to avoid if possible.</p>