Forked cakphp today #163

Closed
wants to merge 2 commits into
from

1 participant

@ghost

Hi,

I forked cakephp today.

Thanks

000aLinux added some commits Jul 31, 2011
@lorenzo lorenzo closed this Jul 31, 2011
@dogmatic69 dogmatic69 added a commit to dogmatic69/cakephp that referenced this pull request Jan 11, 2013
@dogmatic69 dogmatic69 Before this change 0.00 and '0.00' are treated differently. Floats fr…
…om the database are returned as the string

version while doing calculations will normally end up as floats.

This causes output differences on pages like order totals or invoices where there is a mix of calculated values
and database values.

	Number::currency(0.00, 'GBP') -> £0.00
	Number::currency('0.00', 'GBP') -> 0p

Both versions will return `£0.00` (or whatever 0 is configured to return).
bcb3eb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment