I'm having trouble finding out which format will get the results I am looking for.
I'd like to convert a number like this 0.032258 to 3.2
Create a format to simulate percent if you don't want the % sign

proc format;
picture perc (round)
low - high ='009.9' (mult=1000);
run;
data x;
input a;
cards;
0.032258
0.12345
1.2345
;
proc print;
format a perc.;
run;
You can also use the multiplier option in a picture format.
Create a format to simulate percent if you don't want the % sign

proc format;
picture perc (round)
low - high ='009.9' (mult=1000);
run;
data x;
input a;
cards;
0.032258
0.12345
1.2345
;
proc print;
format a perc.;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.