How to add double or float validation in a form?

Permalink
There is integer validation in validation/form helper. For adding double or float validation, is overriding form helper class and validation/numbers file the only way to do it or is there an easier alternative?

BlueFractals