Date: Fri, 27 Mar 2009 12:45:43 -0500
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: integers
Content-Type: text/plain; charset=ISO-8859-1
IF INT(var) = VAR then (whatever if INT);
ELSE (whatever if not INT);
You can also use FLOOR.
Depending on what you want to do with this fact, there are very different
solutions possible using this basic code, so providing the list more
information would be helpful.
On Fri, Mar 27, 2009 at 12:26 PM, Darryl Putnam <email@example.com>wrote:
> My problem: We need to know for each numeric field in a SAS data set
> whether the data is an integer or not. Since SAS stores all numerics
> as floats, does anyone have an idea how to do this?