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

Re: st: floats to double


From   Antoine Terracol <[email protected]>
To   [email protected]
Subject   Re: st: floats to double
Date   Sat, 12 Oct 2002 14:34:23 +0200

Hello,
try using -destring- (Stata 7) instead of real()

Best,
Antoine

Kompal Sinha wrote:

Hi there,
I have converted a 15 digit string into a numerical number by using real()
command. My problem is that now the data is read as floats while I want it
to be in doubles as the string happens to be the caseId of my data. How do I
proceed??
Thanks
Kompal

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




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