set precision and scale to price