zendframework/zf2 — pull request #1968 by cgmartin (2012-07-24 01:37:14+00:00)
Title: [Bugfix] Form Element Number HTML5 validator format fix

When using Zend\Form\Element\Number and Zend\Form\View\Helper\FormNumber in different locales, like fr_FR, the Float Validator would fail.

HTML5 will always return the number in a "100.001" format (with a period decimal separator) no matter what the browser displays based on it's locale setting. This fix forces the Float validator to always use 'en_US' locale to match this format.