If you need a specific format in your output, you use the proper format. You can't force a numeric variable in SAS to have the appearance you want any other way.
data a;
a=12.10;
format a 5.2;
run;
-- Paige Miller
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
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!