Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: References: <200406291634.i5TGYHx26398@hsphsun2.harvard.edu> <2D55E337-C9EB-11D8-AC28-000A95DC38EC@mac.com>


From   "M. Nizam Khan" <khanm@colorado.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: References: <200406291634.i5TGYHx26398@hsphsun2.harvard.edu> <2D55E337-C9EB-11D8-AC28-000A95DC38EC@mac.com>
Date   Tue, 29 Jun 2004 11:54:31 -0600

Hi Statalister,

I want to convert dob1,which is a numeric variable, into a string variable.
So I created dob2=string(dob1). But, for example, I want to see "dob2"
as "19410700" not "1.94e+07". How can I do it?

               dob1       dob2

               19410700   1.94e+07

Thanks.

--
Nizam Khan
*
*   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/



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