title: Yii2: How to get rid of decimals (cents) if the value is integer?
body: <p>I am using this function</p>
  
  <pre><code>Yii::$app-&gt;formatter-&gt;asCurrency(12321.00, 'EUR');
  </code></pre>
  
  <p>The result is 12 321,00 €. 
  But I wanted it to show 12 321 € if the decimals are 00...</p>