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.
|