Create an intermediate class for addExpression and SubtractExpresison to contain the precision and scale logic.