Support for decimal type

I've done support for decimal type.