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

st: Converting string into numeric and vice versa


From   ekothari@worldbank.org
To   Statalist@hsphsun2.harvard.edu
Subject   st: Converting string into numeric and vice versa
Date   Thu, 20 Nov 2003 11:07:08 -0500

I am trying to merge two files using hh_id.

In the main file, hh_id is string

In the other one, hh_id is long


How do I convert the latter into former?


-Ekta


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