Added decimal support for the scanner