You must read it as a string -- double precision numbers simply do not have
18 digits of accuracy. If you need a numeric identifier for some
statistics, you can use encode.
Also, please avoid html email if you can.
Michael Blasnik
[email protected]
----- Original Message -----
From: "Clara" <[email protected]>
To: <[email protected]>
Sent: Monday, November 03, 2003 11:38 AM
Subject: st: how to read a 18 digits long variable
Hello, we are reading a data set in which the variable that identifies the
individual is 18 digits long. We have storaged this variable as a double
type variable, but the variable is not read correctly. It looks like only 16
digits have been read.
How can we get stata read this variable with 18 digits of accuracy.
Thank you very much,
Clara
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/