title: yii2 - how to set currency decimal value
body: <p>I want my currency to ignore decimal value, so far I have this:</p>
  
  <p>main.php:</p>
  
  <pre><code>'formatter' =&gt; [
     'class' =&gt; 'yii\i18n\Formatter',
     'thousandSeparator' =&gt; '.',
     'decimalSeparator' =&gt; ',',
     'currencyCode' =&gt; '€',
  
  ],
  </code></pre>
  
  <p>view:</p>
  
  <pre><code>[
     'attribute' =&gt; 'Score',
     'format' =&gt; 'currency',
  ],
  </code></pre>
  
  <p>Any idea on how to move forward?</p>