Perfect - thank you.
On Aug 12, 8:26 am, Robert P <[email protected]> wrote:
> After reviewing /cake/libs/view/helpers/number.php try:
>
> $number->currency($property['Property']['price'], 'GBP', array
> ('places' => 0));
>
> If the documentation doesn't answer your question, the source will.
>
> On Aug 12, 1:56 pm, jburns <[email protected]> wrote:
>
>
>
> > 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---