@ramonsi2 wrote:
*Format number
How Can import a file whit 19 Digit number format field.
Ex: 7086754897126543865
What do you mean by "IMPORT"?
If the value is in a text file then do not "import' it. Instead READ it from the text file with a data step.
If you have a 19 digit string in a text file then read it as a character variable. If you try to read it as a number you will "lose" some of the digits. SAS stores numbers as 64-bit binary floating point values. You cannot represent 19 digits exactly without some possible values being rounded to a multiple of two because there are not enough bits used for representing the value (the rest of the bits are used to store the magnitude (power of 2).
If this is not a number used in calculations, read it as character.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.