ZF-12002: Zend_Currency compares floating point values
Description
Zend_Currency comparison methods are comparing floating point values instead of monetary values. I think that makes those methods unusable because in practice people only want to compare fixed precision numbers when they deal with currency.
e.g when I'm working with 2 digit precision I want $1.01 to be same when compared to 1.010101
While this is not a bug, I still feel it's not the right way to do it.
Comments
Posted by Melby Sjamsuddin (imel96@mac.com) on 2012-01-17T01:47:30.000+0000
forgot to say I hope it can be fixed in 1.11.12 (: