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: .tab list showing numbers in exponential form. Can that be changed?


From   Muhammad Anees <[email protected]>
To   [email protected]
Subject   Re: st: .tab list showing numbers in exponential form. Can that be changed?
Date   Fri, 18 Nov 2011 22:15:18 +0500

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 <[email protected]> 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
> [email protected]
> 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

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