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 (July 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 2 Jul 2009 15:19:40 -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: Truncate decimal
Comments: To: OR Stats <stats112@gmail.com>
In-Reply-To:  <6eca73440907021301v5abebaf7ic7d1cf28e7c49c60@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

FLOOR() (and its counterpart, CEIL() ) truncates decimals; FLOOR rounds down, CEIL rounds up.

-Joe

On Thu, Jul 2, 2009 at 3:01 PM, OR Stats <stats112@gmail.com> wrote:

> Hello: > > I have numbers that are 100th decimal places. I would just like to > truncate > to the last whole number. > > E.g., > > x= 98.01 > y=98 > > x=98.99 > y=98 > > How do we do this? >


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