Sas 需要在NEGPARENw.d中进行澄清
NEGPARENw.d根据w.d将值Sas 需要在NEGPARENw.d中进行澄清,sas,Sas,NEGPARENw.d根据w.d将值-2000读取为(20,00) SAS 9.1中是否也有类似的功能 I read a value 00005000- as character value and then converted to numeric value -5000 TEMP=000005000- Temp= COMPRESS(TEMP,'-') TEMP=-(INPUT(TEMP,16.2)) format NEGPARENw.d its not working PR
-2000读取为(20,00)
SAS 9.1中是否也有类似的功能
I read a value 00005000- as character value and then converted to numeric value
-5000
TEMP=000005000-
Temp= COMPRESS(TEMP,'-')
TEMP=-(INPUT(TEMP,16.2)) format NEGPARENw.d its not working
PRoc report;
.....
define temp /display format = NEGPAREN16.2
运行
感谢9.1.3中存在NEGPARENw.d格式,因此没有特别的原因使其在9.1.3中不能像在更高版本中一样工作