ZF-6060: Zend_Locale_Format::toInteger() fails to work properly with negative input or sufficiently small decimals
Negative numbers are not treated properly by toInteger(). For example, try to format -4.99 to an integer. toInteger returns -3, not -5. However, pass in 4.99, and toInteger does return 5. Looks like an off-by-one error in there somewhere, but I wasn't able to find it by looking for a little while.
Would just like to point out that integers (mathematically speaking) include all natural numbers, zero, and their negative counterparts.