Hi:
In your original post, you asked about keeping the decimals lined up in a SAS dataset. Since you don't usually see what's INSIDE a SAS dataset, I wasn't sure why you would care about where the decimal point is in the dataset's internal storage.
However, since you show using a PUT, it seems that you might want a -REPORT-??? with the data showing as decimal aligned,
What would be useful would be to see more of your code. For example are you writing to a flat file??
[pre]
filename flatfile 'c:\temp\flat.txt';
...and then in your DATA step:
file flatfile;
put @10 totalkwh z10.2;
???
OR, are you doing:
file print;
put @10 totalkwh z10.2;
???
OR, are you doing:
file print ods;
put @10 totalkwh z10.2;
???
[/pre]
If you are using FILE PRINT ODS -- then what is your destination of interest???
cynthia