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

st: tostring question


From   "R.E. De Hoyos" <[email protected]>
To   <[email protected]>
Subject   st: tostring question
Date   Mon, 2 Aug 2004 18:14:42 +0100

I am trying to transform a numeric variable (double %10.0g) into string
using -tostring-, however I get the following outcome:

 tostring folio, gen(sfolio)
folio cannot be converted reversibly; no generate

When I try the same command with a similar variable (long %12.0g) -tostring-
works fine.

Is there a way to get the string variable I am looking for?

Thanks,

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