<?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: Proc Import excel file with decimal values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668287#M200308</link>
    <description>&lt;P&gt;Try with guessingrows=max first please.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 08:01:22 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2020-07-10T08:01:22Z</dc:date>
    <item>
      <title>Proc Import excel file with decimal values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668281#M200304</link>
      <description>&lt;P&gt;I'm trying to Import below data from .xls file, but after the&amp;nbsp;Import one of the value&amp;nbsp;is not imported correctly as it was in the file.&lt;/P&gt;
&lt;P&gt;Could you please help me understand why the value 0,0086419468 is truncated to 0,0086419 after Import? I was adivised to use&amp;nbsp; only proc Import, so looking for a solution in the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;0,4722918040&lt;BR /&gt;0,0086419468&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After Import, I got the data as&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;0,472291804&lt;BR /&gt;0,0086419&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code which I used is,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PROC IMPORT OUT= WORK_OUTPUT1
     DATAFILE= EXCEL_INPUT
     DBMS=xls REPLACE;
     SHEET=SHEET; 
     GETNAMES=NO;
     MIXED=YES;
RUN;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 07:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668281#M200304</guid>
      <dc:creator>David_Billa</dc:creator>
      <dc:date>2020-07-10T07:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import excel file with decimal values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668284#M200306</link>
      <description>&lt;P&gt;I'd be adding guessingrows=max&lt;/P&gt;
&lt;P&gt;Is the actual value truncated or is it just a display issue. Have you tried printing with format 32. ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 07:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668284#M200306</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-07-10T07:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import excel file with decimal values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668286#M200307</link>
      <description>Actual value is truncated.&lt;BR /&gt;Any idea why I see the issue one of the row instead of all rows?&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2020 07:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668286#M200307</guid>
      <dc:creator>David_Billa</dc:creator>
      <dc:date>2020-07-10T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import excel file with decimal values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668287#M200308</link>
      <description>&lt;P&gt;Try with guessingrows=max first please.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 08:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668287#M200308</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-07-10T08:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import excel file with decimal values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668289#M200310</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;I&amp;nbsp;think guessingrows&amp;nbsp;will work&amp;nbsp;when proc import csv but not excel. I need to import excel file with multiple sheet.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 08:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668289#M200310</guid>
      <dc:creator>David_Billa</dc:creator>
      <dc:date>2020-07-10T08:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import excel file with decimal values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668290#M200311</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292396"&gt;@David_Billa&lt;/a&gt;&amp;nbsp;Yes, you're right. Then I don't know. If it's a one-off then I'd just save the file as XLSX and import this one.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 08:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-excel-file-with-decimal-values/m-p/668290#M200311</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-07-10T08:18:00Z</dc:date>
    </item>
  </channel>
</rss>

