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]

Re: st: How to convert exponential format into numeric values in stata


From   Indu Khurana <[email protected]>
To   [email protected]
Subject   Re: st: How to convert exponential format into numeric values in stata
Date   Tue, 1 Mar 2011 11:56:37 -0500

Thanks Richard!!
That works.

On Mon, Feb 28, 2011 at 4:38 PM, Richard Goldstein
<[email protected]> wrote:
> when you use stat/transfer, go to the "variables" window and make this
> variable a string variable
>
> Rich
>
> On 2/28/11 4:26 PM, Indu Khurana wrote:
>> Hi Statlisters,
>>
>> I am trying to convert some 5000 ids like:
>> 129728016047866
>> 160544769097502
>>
>> into stata. This id file is in excel. When i used stat transfer to
>> export it into stata, it generated this in stata file:
>> 1.297e+14
>> 1.605e+14
>>
>> How can I have the same id number in stata directly from excel or
>> convert exponential format into numeric values when data is in stata
>> ??
>>
>> thanks!!
> *
> *   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/
>

*
*   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