Fix for the spin.number() user function.
The number can be None to reset the values. This is used in a system test.
Authored by: bugman 2009-08-26
Parent: [r9388]
Child: [r9390]