Yii Framework Forum: formatter as currency, add space after dollar sign ? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

formatter as currency, add space after dollar sign ?

#1 User is offline   nguyendh 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 253
  • Joined: 21-March 11

Posted 19 May 2017 - 01:14 PM

<?= Yii::$app->formatter->asCurrency(100); ?> 


shows "$100". I want it to have spaces between $ and 100. e.g. "$ 100"

How can I do that ?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users