I am trying to modify the function below so that it gives the expected output below. For the first calculation it go like 100+ 100*-87/100 = 13 with the equation
100+ 100*-87/100 = 13