全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1188 0
2015-02-25
The data set WORK.REALESTATE has the variable LocalFee with a format of 9.and a variable CountryFee with a format of 7.; The following SAS program is submitted:
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新手先谢谢大家了!!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群