Date: Tue, 6 Oct 2009 12:01:48 +0200
Reply-To: Daniel Fernández <fdezdan@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Daniel Fernández <fdezdan@GMAIL.COM>
Subject: Re: How to pickup percentage value
In-Reply-To: <200910060949.n95IWMwh019744@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
data pct;
a='8 (12.5) 10';
b=input(scan(a,2,'()'),8.2);
run;
Daniel
2009/10/6 Shaik Hymad <hymadsk@gmail.com>:
> Hi To All,
>
> I have Dataset and having only one variable
>
> value
>
> 3 (4.7) 4
> 8 (12.5) 10
> 5 (7.8) 6
> 5 (7.8) 5
> 6 (9.4) 8
> 2 (3.1) 3
> 4 (6.3) 5
> 4 (6.3) 5
> 3 (4.7) 3
>
> I need to pick up only percentage in this value
> How to do this
>
|