I have this Dijit number spinner:
The simple answer is to add pattern:'#'
to your constraints object.
The pattern property allows you to specify how you want your numeric data to be displayed. Here is a link to dojo's reference on number patterns. The whole page is pretty informative on formatting numbers.
Your example should end up looking something like this: