LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 10 Aug 2000 16:07:07 GMT
Reply-To:     sashole@mediaone.net
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Paul Dorfman <paul_dorfman@HOTMAIL.COM>
Subject:      Re: INT Problem
Comments: To: shide@POP16.ODN.NE.JP
Content-Type: text/plain; format=flowed

I think it should be 503310. If you need 503311, use CEIL. I have tested the thing on 6.12 NT, 7.0 NTS, 6.09e os/390, 8.0 os/390, and none has reproduced your funny output.

Kind regards, ========================= Paul M. Dorfman Jacksonville, Fl =========================

>From: "K.Shide" <shide@POP16.ODN.NE.JP> >Reply-To: "K.Shide" <shide@POP16.ODN.NE.JP> >To: SAS-L@LISTSERV.UGA.EDU >Subject: INT Problem >Date: Fri, 11 Aug 2000 00:32:22 +0900 > >I carried out the following program and found >something funny output. > >data aaa; >input a b; >cards; >0.8251 610000 >; >run; > > >data aaa; >set aaa; >c=a*b; >d=int(c); >run; > >proc print; > > >Output is like following. > > a b c d >0.8251 610000 503311 503310 > > > >I think d should be 503311. >If anybody found same problem as mine and found how to dodge this >problem, please give me any advice. > >Regards, >K.Shidehara > >Kazutoshi.Shidehara@gecapital.com

________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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