Recently, a poster posted a question about converting a long string which contained "numeric" data to numeric. I recently had the same problem and eventually solved it. While trying to solve my problem, I looked at inputting large integers and came across the following
. set obs 1
. gen x=1234567890
. format x %15.0g
. list
+------------+
| x |
|------------|
1. | 1234567936 |
+------------+
Is there some limit on the size of integers (answer: of course there is) but why doesn't Stata give me some sort of warning message?
Joseph
__________________________________________________________________
Switch to the New Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
*
* 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/