How do you find a new salary if you know the amount of a cut/raise and the salary before the cut/raise?

if the raise is r%, then the new salary is (1+r/100) times the old one.