Added option to use an optional callback to filter the actual number displayed in the input.