1000 - 10% = 900900 + 10% = 990
Is there a way when the first example always result in the second value (990), independent of the value? I can change the percentage with no problem.
What I really need is the result of the second calc to be 1000 (or whatever other value of input).
First, you need to write correct equations. When you take $10 \%$ off $1000$ you should write it as $1000(1-10\%)=900$, which can be translated to $1000(1-0.1)=900$ Your first is claiming $1000-0.1=900$ which is not correct. Then if you want to find the percentage to increase $900$ by to get back to $1000$ (I am guessing this is what you want. The question is very difficult to understand), we can do it for a general percentage reduction. If you reduce $1000$ by $x \%$ you get $1000(1-\frac x{100})=y$ If you increase $y$ by $z \%$, you get $y(1+\frac z{100})$. You want this to equal $1000$, which will happen when $1000(1-\frac x{100})(1+\frac z{100})=1000$ or $(1-\frac x{100})(1+\frac z{100})=1$ You can then solve this to give $\frac z{100}-\frac x{100}-\frac {xz}{100}=0$, $$z=\frac x{1-x}$$ When $x$ is small, $z$ will be close to $x$.