Currency Formatting (Template)

Hi There,

I have tried formatting currency and it works:

{{value | currency}}

But this one automatically adds the dollar sign. How do I remove the dollar sing since I need to use different currencies? I am not using VOLT templating by the way, just the regular PHP one (phtml).

Thanks,

Where did you get that filter currency from? I can't find it in the official docs.



3.6k

My mistake. I got it mixed up between Phalcon and AngularJS. No wonder I was not able to find the answer in Phalcon. I just realised it after asking. :D

Silly mistakes, we all fall for them! Glad you solved it :)