oscarotero/form-manager — pull request #30 by eusonlito (2014-11-04 22:24:32+00:00)
Title: Fixed Number validation when 0.0 is used as value

If I use "0.0" string to validate a number, not empty check is returning true and filter_var returns "float(0)" and is validated as false.

You must check if filter_var returns false with type comparisons.

Regards.