Prev: Suppress Borders in ODS Tagsets ExceXP?
Next: A Data manipulation question - Confusing to me (Running out of
From: "Data _null_;" on 3 Mar 2010 13:31 No BUG. Search as support.sas.com for "numeric precison 101" 2259 data a; 2260 a=1.11; 2261 b=a-1; 2262 d = .11; 2263 if b=.11 then c=1; 2264 put (b d)(=hex16./); 2265 run; b=3FBC28F5C28F5C30 d=3FBC28F5C28F5C29 On 3/3/10, Stefano Vezzoli <s.vezzoli(a)gmail.com> wrote: > In the following data step I obtain a really unexpected result: > > data a; > a=1.11; > b=a-1; > if b=.11 then c=1; > run; > > c=. on my versions of SAS 9.2, 9.1.3 and 8.2. > > Do you have the same problem or maybe know the reason behind this strange > behaviour? > > Thank you very much for your help. > > > Stefano >
From: Stefano Vezzoli on 4 Mar 2010 00:44
Thank you very much for your help. Stefano |