Have you tried destring or decode?
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Rodriguez,
Dan
Sent: Tuesday, September 11, 2007 4:14 PM
To: 'statalist@hsphsun2.harvard.edu'
Subject: st: Converting numbers in format (52,500) into numerical format
Have comma-delimited file that I need to process daily in automated
fashion. How can I convert numbers in parenthetical format into real
numbers?
========================================================================
======
Please access the attached hyperlink for an important electronic
communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
========================================================================
======
*
* 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/