symfony/symfony — pull request #2520 by mrtorrent (2011-10-30 22:00:14+00:00)
Title: Let NumberFormatter handle integer type casting

The integer to localised string transformer is currently casting everything it gets to an integer, even if it is not a number. This responsibility should be passed off to NumberFormatter.

Partially addresses #2389 by not mistakenly typecasting a boolean false into an integer 0