data numbers;
input old new;
datalines;
5 8
2 6
10 3
54 48
25 14
run;
data perchange;
set numbers;
perchg = ((New-old)/old)* 100;
run;
I think this should help. Format you perchg to limit the display of the decimals.
APS
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!