Test/docs for type="number" behavior and usage

Closes #13