Looking for a way to make your currency appear neater in CakePHP Views? The Money Helper has been designed to make currency appear as small as possible.
The CakePHP Money Plugin helps format currency a little better than the $this->Number->currency helper currently does.
Using the $this->Money->small method, you can format any number to display the money amount in a smaller format possible.
It will strip any ".00" and automatically display the currency as a whole number rather than adding ".00"
10.00 becomes $10
9.90 becomes $9.90
100 becomes $100
100.04 becomes $100.04
1000 becomes $1,000
1000.9 becomes $1,000.90
Did you know, I am now offering mentoring for those looking to get into freelancing?
Click here to learn more about my Mentorship Programme.