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 (January 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Jan 2008 13:48:35 -0500
Reply-To:     "Marc S." <marc.sage@RBC.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Marc S." <marc.sage@RBC.COM>
Subject:      numeric precision

We've all encountered problems due to the way SAS stores numeric variables. Specifically a series of calculations (should) lead to a zero value but results in a wonky looking approximation of zero. (eg. 1.3878E- 17) Statements that compare to zero fail as a result.

Although this can be coded around, it represents a lot of work to update all sources that *may* encounter this problem.

Is there a system option that will cause automatic rounding to avoid this issue? Perhaps another approach would work?

Marc.


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