![]() |
From | "Neil Shephard" <nshephard@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: new string variable which has the formatted value of a variable |
Date | Wed, 7 Jan 2009 11:51:48 +0000 |
Not sure about dates, but for your second example you can do the following.... gen str magicj = string(round(j, .01)) Neil -- "We should make things as simple as possible, but not simpler." - Anon (not Albert Einstein) Email - nshephard@gmail.com Website - http://slack.ser.man.ac.uk/ Photos - http://www.flickr.com/photos/slackline/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |