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

Re: st: tostring question

From   "Dev Vencappa" <>
To   <>
Subject   Re: st: tostring question
Date   Mon, 02 Aug 2004 18:20:01 +0100

you might want to see the help on tostring. I see that the replace option with tostring talks about your problem.


>>> 08/02/04 06:14pm >>>
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?


*   For searches and help try:

This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

*   For searches and help try:

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