Zend_Currency format when amount is zero

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Zend_Currency format when amount is zero

Andrew Ballard
I recently began using Zend_Currency and generally have pretty decent
results. However, I noticed recently that when the amount is zero the
toCurrency() method is returning '$.00' instead of '$0.00' as I
expected. Is this the correct behavior? It seems a little strange to
me.

Andrew