This example shows how to use the number field.
Note that the js is not minified so it is readable. See number.js.