LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2009, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments:   To: Darryl Putnam <darrylovia@gmail.com>
In-Reply-To:   <b9cb6189-e025-40ab-a8a5-f29c9c5e5575@s28g2000vbp.googlegroups.com>
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.

-Joe On Fri, Mar 27, 2009 at 12:26 PM, Darryl Putnam <darrylovia@gmail.com>wrote:

> All > > 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? > > D >


Back to: Top of message | Previous page | Main SAS-L page