|
/*excel d:\temp\ahuige.xlsx*/
/*******************/
/*123456789012345*/
/*987654321098765*/
/*9123456789012345*/
/***********************/
/*
if it is within 15 digits (smaller than 9,007,199,254,740,992) then the numerical var is precise.
bigger than that you just forget about it, since SAS sets a bar there.
*/
proc import datafile="d:\temp\ahuige.xlsx" out=MYEXCEL ;
getnames=no;
run;
data ahuige;
format num best25.;
set MYEXCEL;
num=input(F1,best25.);
put _all_;
run; |
|