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 (November 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 12 Nov 1997 14:05:09 -0500
Reply-To:     "Patton, Nancy (CAP, RFS)" <Nancy.Patton@GECAPITAL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Patton, Nancy (CAP, RFS)" <Nancy.Patton@GECAPITAL.COM>
Subject:      Re: SAS Function to round up.
Comments: To: "Hoang, Hien" <hien_hoang@AFCC.COM>

how about simply adding 50 to the number you want to round up, then ROUNDing as in: > round (233+50, 100); ** will return 300; > round (250+50, 100); ** will return 300; > ------------------------------------------------- * Nancy Patton * Phone (757)722-1177 * Nancy.Patton@Worldnet.Att.net * Nancy.Patton@GECapital.com

> ---------- > From: Hoang, Hien[SMTP:hien_hoang@AFCC.COM] > Reply To: Hoang, Hien > Sent: Tuesday, November 11, 1997 5:30 PM > To: SAS-L@UGA.CC.UGA.EDU > Subject: SAS Function to round up. > > Is there a SAS function to round a number up? The round() > function > seems to round the number up or down depending on the rounding > unit. > > round(233, 100); ** will return 200; > round(250, 100); ** will return 300; > > This is what I want: > > round (233, 100); ** will return 300; > round (250, 100); ** will return 300; > > Thanks, > Hien >


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