I'd like to take a number and display it as currency but with a
defined precision - for example £100,000. I have tried the following:

$number->currency($number->precision($property['Property']['price'],
0 ),'GBP')

which nests the $number->precision function inside of the $number-
>currency function, but the precision is being ignored. Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to