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

st: double to integer


From   "Oleksandr Shepotylo" <[email protected]>
To   <[email protected]>
Subject   st: double to integer
Date   Thu, 7 Apr 2005 15:29:50 -0400

Hi,

I have integer variable that is stored as double.
I tried to change it to integer using 

recast int id

getting message "id would be changed... no changes made"

if i use 

recast int id, force

it gives all missing

Any ideas how to change it to integer?

Thanks,

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