Add form::number() support.

Tried to use this function after seeing it in the docs, but found that it doesn't exist anywhere.