how get currency symbol by locale?
Ex: ‘$’ or ‘R$’
and thousands separator and decimal separator by locale?
how get currency symbol by locale?
Ex: ‘$’ or ‘R$’
and thousands separator and decimal separator by locale?
echo Yii::$app->formatter->asCurrency(14.99);
http://www.yiiframework.com/doc-2.0/guide-output-formatter.html#formatting-numbers
http://www.yiiframework.com/doc-2.0/yii-i18n-formatter.html#asCurrency()-detail