Freelance PHP Developer

CakePHP Money Helper Plugin

29th January 2015

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"

For Example:

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

The Money Helper Plugin can he downloaded from GitHub.

Did you know, I am now offering FREE mentoring for those looking to get into freelancing.
Whether you are looking to join Toptal or break into freelancing...
Click here to learn more about my Mentorship Program.