Mayby PHP number_format($myNumber, 2, ',', '.');
http://php.net/number_format


On Sep 6, 1:12 pm, LS <[EMAIL PROTECTED]> wrote:
> Hello, everyone!
> I have searched the group, but i couldn't find anything related to
> this...
>
> I USA, you guys use the numbers in the format ##,###,###.## (note the
> dots and commas). Here in Brazil, we use ##.###.###,##. I was
> wondering if cake has some built-in function/configuration to retrieve
> (and display) the decimals separated by "," (comma) and retrieving the
> user input also using a comma transparently.
>
> If not, I could just implement it in my AppModel in beforeSave and
> afterFind functions, right?
>
> Regards,
> - LS


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to