Date: Tue, 4 Jan 2011 08:59:59 -0500
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject: Sign after the numbers
Saw an interesting question posted somewhere else. The question goes:
------------------------------------------------------------------------
I have my dataset for the banking data as mentioned below.
data one;
input varname$ @@;
cards;
12+ -10 50+ -1 -45 300+
;
run;
I am expecting the output as mentioned below. It means numeric sign should
come after the number also the variable should be in numeric not character.
Anyone can help me ?
12+
10-
50+
1-
45-
300+
--------------------------------------------------------------
|