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

st: data conversion


From   "M. Nizam Khan" <[email protected]>
To   [email protected]
Subject   st: data conversion
Date   Tue, 29 Jun 2004 12:20:01 -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.



--
M. 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index