Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: import long variable

From   Juan Ramón García López <>
To   <>
Subject   st: import long variable
Date   Mon, 22 May 2006 13:37:38 +0200

Dear all,

I have a database in '.txt' format. My database has a 18-characters variable (idvar). When I try to pass it to '.dta' format, I write the
following dictionary:

dictionary {
_column(1) double idvar %18f

My problem is that Stata approximates the last numbers of 'idvar'. I already know that the problem could be solved importing the variable like "string". Do you know another way to solve this problem?

Thank you very much.
* For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index