<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: data manipulation in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829244#M35504</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your answer. I have only 2 decimals for all score values. It worked well for other values but for some reasons not for 0.20 and 0.31....&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 17:17:22 GMT</pubDate>
    <dc:creator>Romain69100</dc:creator>
    <dc:date>2022-08-18T17:17:22Z</dc:date>
    <item>
      <title>data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829237#M35500</link>
      <description>&lt;P&gt;Dear SAS users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a project where i built a numeric score called "SCORE", this variable range from 0 to 0.90 with the following modalities:&lt;/P&gt;&lt;P&gt;-0.2&lt;/P&gt;&lt;P&gt;-0.31&lt;/P&gt;&lt;P&gt;-0.40&lt;/P&gt;&lt;P&gt;-0.60&lt;/P&gt;&lt;P&gt;-0.75&lt;/P&gt;&lt;P&gt;-0.80&lt;/P&gt;&lt;P&gt;-0.90&lt;/P&gt;&lt;P&gt;&amp;nbsp;When i performed a proc freq on this variable i got effective by modalities. However when i tried this code:&lt;/P&gt;&lt;P&gt;data toto;&lt;/P&gt;&lt;P&gt;set toto;&lt;/P&gt;&lt;P&gt;if score=0.2 then output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;0 observation is printed. I have the same problem with the 0.31 value. It worked well for the other values....&lt;/P&gt;&lt;P&gt;I have checked number of decimals and format and it is well set up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know what is happening and why i get an output with the proc freq but nothing with the data step...&lt;/P&gt;&lt;P&gt;Any help would be grandly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829237#M35500</guid>
      <dc:creator>Romain69100</dc:creator>
      <dc:date>2022-08-18T16:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829239#M35501</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422284"&gt;@Romain69100&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Dear SAS users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently working on a project where i built a numeric score called "SCORE", this variable range from 0 to 0.90 with the following modalities:&lt;/P&gt;
&lt;P&gt;-0.2&lt;/P&gt;
&lt;P&gt;-0.31&lt;/P&gt;
&lt;P&gt;-0.40&lt;/P&gt;
&lt;P&gt;-0.60&lt;/P&gt;
&lt;P&gt;-0.75&lt;/P&gt;
&lt;P&gt;-0.80&lt;/P&gt;
&lt;P&gt;-0.90&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When i performed a proc freq on this variable i got effective by modalities. However when i tried this code:&lt;/P&gt;
&lt;P&gt;data toto;&lt;/P&gt;
&lt;P&gt;set toto;&lt;/P&gt;
&lt;P&gt;if score=0.2 then output;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;0 observation is printed. I have the same problem with the 0.31 value. It worked well for the other values....&lt;/P&gt;
&lt;P&gt;I have checked number of decimals and format and it is well set up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know what is happening and why i get an output with the proc freq but nothing with the data step...&lt;/P&gt;
&lt;P&gt;Any help would be grandly appreciated.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are there errors or warnings in the log? If so, show us the ENTIRE log for this DATA step (we need to see every single line, every single character — do not pick and choose parts of the log to show us and not show us the rest of the log). Please click on the &amp;lt;/&amp;gt; icon and paste the log as text into the window that appears.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Insert Log Icon in SAS Communities.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66171iFEC370B1DBF07B28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Insert Log Icon in SAS Communities.png" alt="Insert Log Icon in SAS Communities.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first possibility that comes to mind is that SCORE is actually a character variable and it does not have value 0.2 but its value is character string '0.2'. You should get errors in the log if this is the case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second possibility is that SCORE is numeric but its value is for some reason is not 0.2 in your data set but some value that is extremely close to 0.2 but not exactly equal because of round-off error or machine precision problems.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829239#M35501</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-18T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829242#M35502</link>
      <description>&lt;P&gt;Suspect this is a numeric precision issue, does the following work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data toto2;

set toto;

if round(score, 0.1)=0.2 then output;

run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829242#M35502</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-18T17:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829243#M35503</link>
      <description>&lt;P&gt;Thank you for your answer. No warnings/errors in the log. Score is numeric and i have only 2 decimals... It worked well for other values but for some reasons not for 0.20 and 0.31....&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829243#M35503</guid>
      <dc:creator>Romain69100</dc:creator>
      <dc:date>2022-08-18T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829244#M35504</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your answer. I have only 2 decimals for all score values. It worked well for other values but for some reasons not for 0.20 and 0.31....&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:17:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829244#M35504</guid>
      <dc:creator>Romain69100</dc:creator>
      <dc:date>2022-08-18T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829246#M35505</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422284"&gt;@Romain69100&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your answer. I have only 2 decimals for all score values. It worked well for other values but for some reasons not for 0.20 and 0.31....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You mean IT LOOKS LIKE you have only two digits ... the real value could be something different. The real value could really be (even if you don't see it) 0.1999999999999 (and so SAS shows you 0.2) and this is not equal to 0.2. So you could try something like this to test if this is what is happening.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if fuzz(score - 0.2) = 0 then output;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829246#M35505</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-18T17:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829247#M35506</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422284"&gt;@Romain69100&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your answer. I have only 2 decimals for all score values. It worked well for other values but for some reasons not for 0.20 and 0.31....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Numerical Accuracy in SAS:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrcon/p0ji1unv6thm0dn1gp4t01a1u0g6.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrcon/p0ji1unv6thm0dn1gp4t01a1u0g6.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did the code work?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829247#M35506</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-18T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829248#M35507</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422284"&gt;@Romain69100&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your answer. I have only 2 decimals for all score values. It worked well for other values but for some reasons not for 0.20 and 0.31....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Did you actually try the ROUND function? If not,&amp;nbsp;&lt;STRONG&gt;DO IT.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829248#M35507</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-08-18T17:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829251#M35508</link>
      <description>&lt;P&gt;&amp;nbsp;Thanks i tried&amp;nbsp; your code and it does not fix the problem. 0.20 and 0.31 are the REAL values&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:25:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829251#M35508</guid>
      <dc:creator>Romain69100</dc:creator>
      <dc:date>2022-08-18T17:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829252#M35509</link>
      <description>&lt;P&gt;Yes i tried it. The problem is still present. It is not a decimal/round problem because 0.20 and 0.31 are the real and entire values..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829252#M35509</guid>
      <dc:creator>Romain69100</dc:creator>
      <dc:date>2022-08-18T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829253#M35510</link>
      <description>&lt;P&gt;Please read the previous article I linked, and post the log from the code &lt;STRIKE&gt;I posted&lt;/STRIKE&gt;. below.&lt;/P&gt;
&lt;P&gt;Forgot the negative sign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data toto2;

set toto;

if round(score, 0.1)=-0.2 then output;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829253#M35510</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-18T17:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829255#M35511</link>
      <description>&lt;P&gt;Is it -0.2 and -0.31 or 0.2 and 0.31?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422284"&gt;@Romain69100&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;Thanks i tried&amp;nbsp; your code and it does not fix the problem. 0.20 and 0.31 are the REAL values&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:52:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829255#M35511</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-18T17:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829257#M35512</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/422284"&gt;@Romain69100&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this has gone on long enough with us guessing what is happening. We need to see (a portion of) your actual data set as SAS data step code (please follow &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;these instructions&lt;/A&gt;); and we need to see the code you are using.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 18:00:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829257#M35512</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-18T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829258#M35513</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Please read the previous article I linked, and post the log from the code &lt;STRIKE&gt;I posted&lt;/STRIKE&gt;. below.&lt;/P&gt;
&lt;P&gt;Forgot the negative sign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data toto2;

set toto;

if round(score, 0.1)=-0.2 then output;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;, this not only would output values of -0.2 but it would also output when the value is -0.22, which doesn't seem like a good general purpose strategy here.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:45:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829258#M35513</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-18T17:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829260#M35514</link>
      <description>&lt;P&gt;OP has stated those values are not possibly in the data set though and easily adjusted for two decimal places if this is the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Please read the previous article I linked, and post the log from the code &lt;STRIKE&gt;I posted&lt;/STRIKE&gt;. below.&lt;/P&gt;
&lt;P&gt;Forgot the negative sign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data toto2;

set toto;

if round(score, 0.1)=-0.2 then output;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;, this not only would output values of -0.2 but it would also output when the value is -0.22, which doesn't seem like a good general purpose strategy here.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 17:52:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829260#M35514</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-18T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829316#M35519</link>
      <description>&lt;P&gt;Just to put this thing to rest:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input score;
format score 5.2;
datalines;
0.2
0.31
0.4
0.6
0.75
0.8
0.9
;

proc freq data=have;
tables score;
run;

data want;
set have;
if score = 0.2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Final part of the log:&lt;/P&gt;
&lt;PRE&gt; 86         data want;
 87         set have;
 88         if score = 0.2;
 89         run;
 
 NOTE: There were 7 observations read from the data set WORK.HAVE.
 NOTE: The data set WORK.WANT has 1 observations and 1 variables.
&lt;/PRE&gt;
&lt;P&gt;So, &lt;U&gt;if&lt;/U&gt; the value is 0.2, then the subsetting IF will work, period. If it doesn't work, then you have a different value, but don't see it because of the format.&lt;/P&gt;
&lt;P&gt;How are the values created?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And please do post the log from this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data toto;
set toto;
if score=0.2 then output;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2022 08:17:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829316#M35519</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-08-19T08:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: data manipulation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829339#M35523</link>
      <description>&lt;P&gt;Fun fact: Using Windows SAS 9.4M5 with the default setting of system option &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n130tap9xs8q36n14gq23sci5y52.htm" target="_blank" rel="noopener"&gt;DECIMALCONV&lt;/A&gt;, i.e.,&lt;/P&gt;
&lt;PRE&gt;options decimalconv=COMPATIBLE;&lt;/PRE&gt;
&lt;P&gt;there are &lt;EM&gt;seventeen&lt;/EM&gt; distinct numeric values which are not equal to 0.2, yet indistinguishable from 0.2 when viewed in the common numeric formats &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/leforinforref/n1n7bmvs1brl23n1dj9cbzau39df.htm" target="_blank" rel="noopener"&gt;&lt;EM&gt;w&lt;/EM&gt;.&lt;EM&gt;d&lt;/EM&gt;&lt;/A&gt;, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/leforinforref/p1fum54c93f8r0n1wrs5mrb05nzi.htm" target="_blank" rel="noopener"&gt;BEST&lt;EM&gt;w&lt;/EM&gt;.&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/leforinforref/p0ft9ab99s98msn1vblkk4c5bd3l.htm" target="_blank" rel="noopener"&gt;E&lt;EM&gt;w&lt;/EM&gt;.&lt;/A&gt;&amp;nbsp;(with all possible values of &lt;EM&gt;w&lt;/EM&gt; and &lt;EM&gt;d&lt;/EM&gt;).&amp;nbsp;Similarly, 0.31 has&amp;nbsp;&lt;EM&gt;eight&lt;/EM&gt;&amp;nbsp;such "doubles" among the internal numeric representations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The log of the code below shows where the corresponding ranges start and end.&lt;/P&gt;
&lt;PRE&gt;data _null_;
input score hex16.;
put score hex16. +2 (5*score) (best16.-l best32.-l +1 16.15 +1 32.30 e32.);
cards;
3FC9999999999997
&lt;STRONG&gt;3FC9999999999998
3FC99999999999A9&lt;/STRONG&gt;
3FC99999999999AA
3FD3D70A3D70A3D6
&lt;STRONG&gt;3FD3D70A3D70A3D7
3FD3D70A3D70A3DF&lt;/STRONG&gt;
3FD3D70A3D70A3E0
;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 15:33:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/data-manipulation/m-p/829339#M35523</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-08-19T15:33:51Z</dc:date>
    </item>
  </channel>
</rss>

