From | [email protected] |
To | [email protected] |
Subject | st: using the 'real' command |
Date | Wed, 8 Dec 2004 13:10:10 -0500 |
I am trying to convert a string variable to a numeric variable so that I can specify the display format, but I get an error message saying it can't recognize the ( ), i.e., the parenthesis. can anyone help? gen id1=real(cl01); format id1 %02.0f Mirafe Gebriel Marcos * * 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 |