<?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: Rounding decimals in PDF (ODS) in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128004#M10653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I am not sure this is an ODS issue. Have you tried a FORMAT statement? something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;format id 15.12;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be that you just need to explicitly control the number of decimal places with a format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 17:46:40 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2013-05-02T17:46:40Z</dc:date>
    <item>
      <title>Rounding decimals in PDF (ODS)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128003#M10652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a code from a co-worker of mine where he creates a sas dataset with some statistics and then create a PDF file with it. The problem is the PDF is only displaying 5 decimal places(some times rounds the fifth decimal).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering , if it is possible to display the decimal part as is without rounding. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data tt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input id id2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;0.4567682345678 234&lt;/P&gt;&lt;P&gt;;run;&lt;/P&gt;&lt;P&gt;data tt1;&lt;/P&gt;&lt;P&gt; set tt;&lt;/P&gt;&lt;P&gt; kd=id&amp;nbsp; * (1-id) ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%let test_pdf = C:\Test1.pdf;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods pdf file="&amp;amp;test_pdf";&lt;/P&gt;&lt;P&gt;proc print data=tt1 noobs;&lt;/P&gt;&lt;P&gt;title "&amp;amp;Test PDF";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PDF the value of KD is displayed as 0.24813&amp;nbsp; instead of 0.2481310145. Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 16:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128003#M10652</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2013-05-02T16:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding decimals in PDF (ODS)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128004#M10653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I am not sure this is an ODS issue. Have you tried a FORMAT statement? something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;format id 15.12;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be that you just need to explicitly control the number of decimal places with a format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:46:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128004#M10653</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-05-02T17:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding decimals in PDF (ODS)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128005#M10654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 18:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Rounding-decimals-in-PDF-ODS/m-p/128005#M10654</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2013-05-02T18:09:44Z</dc:date>
    </item>
  </channel>
</rss>

