For numeric variables in SAS, for numbers greater than 16th numeric value it shows different values - SAS can only read up to 16 decimal digits and the rest of the digits will be generated randomly. Is there a way to change the default length of the readable numeric digits? I would like to retain the variable as numeric not character, and I would like to extend the number of digits beyond 16. data demo1; input CRDNO ; FORMAT CRDNO BEST21.; CARDS; 123456789123456791234 111111111111111111111111 222222222222222222222 RUN; proc print; run; SAS output will show only up to 16 numeric value but greater than 16th numeric value it shows different values. And I believe the last few digits of the numbers are random. Obs CRDNO 1 123456789123456794624 2 111111111111111114752 3 222222222222222229504
... View more