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

RE: st: Education CIP Codes with Label Define


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Education CIP Codes with Label Define
Date   Thu, 8 Jan 2004 15:08:05 -0000

You can -destring- to ignore the period.

Nick
[email protected]

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of John Milam
> Sent: 08 January 2004 14:36
> To: [email protected]
> Subject: RE: st: Education CIP Codes with Label Define
>
>
> Nick,
>
> You are right in the example I included.  I would like then
> to change it
> from string to numeric.  But I don't know how to treat the
> padding of
> leading/trailing zeros and the period which will then treat
> the number
> as having 4 decimals.
>

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