Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: .tab list showing numbers in exponential form. Can that be changed?


From   Muhammad Anees <anees@aneconomist.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: .tab list showing numbers in exponential form. Can that be changed?
Date   Fri, 18 Nov 2011 22:16:14 +0500

sorry, yourvariable is pid as above stated.

On Fri, Nov 18, 2011 at 10:15 PM, Muhammad Anees <anees@aneconomist.com> wrote:
> For my
> format %5.0g pid
> I have the data in editor as 1.0e+07
> and the same pid is 10016872.
> for
> format %12.0g yourvariable
> So give it a try and check what happens.
>
> On Fri, Nov 18, 2011 at 9:09 PM, Ben Hoen <bhoen@lbl.gov> wrote:
>> I have ids for a table that are 8 or 9 digits (format long%12.0g) (e.g.,
>> "72009070" of " "720110701".
>>
>> To quickly inspect what ids are present I use .tab <id>. The table shows
>> those ids using exponential notation (e.g., "7.20e+07") for all ids, and
>> therefore I cannot differentiate which is which.
>>
>> Is there a way to force the table to list the ids in non-exponential form?
>> Alternatively, can I use another command to do the same thing.
>>
>> Ben
>>
>> Ben Hoen
>> Principal Research Associate
>> Lawrence Berkeley National Laboratory
>> Office: 845-758-1896
>> Cell: 718-812-7589
>> bhoen@lbl.gov
>> http://eetd.lbl.gov/ea/emp/staff/hoen.html
>>
>>
>>
>>
>> *
>> *   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/
>>
>
>
>
> --
>
> Regards
> ---------------------------
> Muhammad Anees
> Assistant Professor
> COMSATS Institute of Information Technology
> Attock 43600, Pakistan
> www.aneconomist.com
>



-- 

Regards
---------------------------
Muhammad Anees
Assistant Professor
COMSATS Institute of Information Technology
Attock 43600, Pakistan
www.aneconomist.com

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index