<?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: How do we handle 2 decimal formats if we have data with &amp;quot;-&amp;quot; and 0 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709436#M218154</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240711"&gt;@noda6003&lt;/a&gt;&amp;nbsp; Please try using&amp;nbsp;&lt;/P&gt;
&lt;H1 id="n0wi1eyjui7p3fn1g7912tl3lqyg" class="xisDoc-title"&gt;BESTDw.p Format&lt;/H1&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n0wi1eyjui7p3fn1g7912tl3lqyg.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n0wi1eyjui7p3fn1g7912tl3lqyg.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 15:27:18 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2021-01-05T15:27:18Z</dc:date>
    <item>
      <title>How do we handle 2 decimal formats if we have data with "-" and 0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709434#M218152</link>
      <description>&lt;P&gt;I have data something which has negative values and 0 with decimals and i want 2 decimals for all non zero values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried format=6.2 in proc report but it also makes 0 as 0.00. is there any way to skip 0 while using it in define in proc report?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709434#M218152</guid>
      <dc:creator>noda6003</dc:creator>
      <dc:date>2021-01-05T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do we handle 2 decimal formats if we have data with "-" and 0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709435#M218153</link>
      <description>&lt;P&gt;A custom format ought to work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value custf 0=0 other=[6.2];
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then in PROC REPORT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;define var / format=custf.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709435#M218153</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-01-05T15:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do we handle 2 decimal formats if we have data with "-" and 0</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709436#M218154</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240711"&gt;@noda6003&lt;/a&gt;&amp;nbsp; Please try using&amp;nbsp;&lt;/P&gt;
&lt;H1 id="n0wi1eyjui7p3fn1g7912tl3lqyg" class="xisDoc-title"&gt;BESTDw.p Format&lt;/H1&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n0wi1eyjui7p3fn1g7912tl3lqyg.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n0wi1eyjui7p3fn1g7912tl3lqyg.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-we-handle-2-decimal-formats-if-we-have-data-with-quot/m-p/709436#M218154</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2021-01-05T15:27:18Z</dc:date>
    </item>
  </channel>
</rss>

