Please sign in to comment.
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).
- Loading branch information...
Showing with 13 additions and 0 deletions.