added support to specify the scale value for the decimal type