Not sure what you mean - the same if (this.dataType == PDataType.DECIMAL) is repeated above. Why not just set the scale in that one?