Improved NumberField functionality

Fixed #14 by adding a second parameter to NumberField which allows a
second value to be bound to the NumberField. The purpose of the second
value is to determine the number of decimal places to display, based on
the number’s magnitude.
Merge branch 'number-field' into dev