Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: more than double precision (higher than 16 digit)


From   Nicola Man <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: more than double precision (higher than 16 digit)
Date   Mon, 29 Nov 2010 11:27:07 +1100

Hi,

I am having problems with precision for a numeric variable (it is an ID variable).  I have been keeping it as a string variable as there are more than 16 digits (the maximum number of exact digits stored in double precision, which problem I also encountered in other softwares like Excel and SPSS).

However, I now want to do some computation with a user-written program in STATA that needs it to be stored as a number.  Would be great if someone would help me with this.

Thanks!
Nicola
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index