set precision and scale of decimals.