data WORK.FEE_STRUCTURE;
format LocalFee CountryFee percent7.2;
set WORK.REALESTAT;
LocalFee=LocalFee/100;
CountryFee=CountryFee/100;run;
What are the formats of the variables LOCALFEE and COUNTRYFEE in the outputdataset?
A. LocalFee has format of 9. and CountryFee has a format of 7.
B. LocalFee has format of 9. and CountryFee has a format of percent7.2
C. Both LocalFee and CountryFee have a format of percent7.2
D. The data step fails execution; there is no format for LocalFee.
Answer: C
请大家帮忙解答一下,为什么C对,还有format怎么用,是什么意思。
SAS新手先谢谢大家了!!!



雷达卡



京公网安备 11010802022788号







