<?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: Numeric Format for negative sign in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/652602#M24155</link>
    <description>&lt;P&gt;How would you go about having both parentheses and a dollar sign? e.g. ($20.01).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a present format that I can use if not would I need to create one with Proc Format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 16:22:53 GMT</pubDate>
    <dc:creator>Smora0713</dc:creator>
    <dc:date>2020-06-02T16:22:53Z</dc:date>
    <item>
      <title>Numeric Format for negative sign</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/2658#M1161</link>
      <description>Hi Friends,&lt;BR /&gt;
&lt;BR /&gt;
I tried with Format negparen6.2 for numeric column. If the field is wide enough, NEGPARENw.d places parentheses around a number to represent a negative value. But i need to be negative sign. Please help me. Very urgent.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Selvi.</description>
      <pubDate>Thu, 29 Mar 2007 12:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/2658#M1161</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-29T12:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric Format for negative sign</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/2659#M1162</link>
      <description>Try making your width value -smaller- in order to get the parentheses to go away and show a negative sign (with negparen format) or simply use a &lt;B&gt;w.d&lt;/B&gt; format as shown below. For more help with formatting numbers, there is extensive documentation in the SAS on-line doc or you can always call on Tech Support for help with a user-defined PICTURE format of your own.&lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data fmtnum;&lt;BR /&gt;
input num;&lt;BR /&gt;
return;&lt;BR /&gt;
datalines;&lt;BR /&gt;
-1&lt;BR /&gt;
-.045&lt;BR /&gt;
4&lt;BR /&gt;
.065&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
        &lt;BR /&gt;
ods listing;&lt;BR /&gt;
proc print data=fmtnum;&lt;BR /&gt;
title 'with negparen format -- format cannot be too big';&lt;BR /&gt;
format num negparen5.3 ;&lt;BR /&gt;
run;&lt;BR /&gt;
                &lt;BR /&gt;
proc print data=fmtnum;&lt;BR /&gt;
title 'with simple w.d format';&lt;BR /&gt;
format num 5.3 ;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 29 Mar 2007 15:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/2659#M1162</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-03-29T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric Format for negative sign</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/652602#M24155</link>
      <description>&lt;P&gt;How would you go about having both parentheses and a dollar sign? e.g. ($20.01).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a present format that I can use if not would I need to create one with Proc Format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 16:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/652602#M24155</guid>
      <dc:creator>Smora0713</dc:creator>
      <dc:date>2020-06-02T16:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric Format for negative sign</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/652708#M24159</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Rather than piggyback on such an old posting, you might want to start a new post. I nearly didn't read this when I saw how old the original post was.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think your only choice is a PICTURE format, as shown in example #3:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1591141821700.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40289i727600A6DC0BF695/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1591141821700.png" alt="Cynthia_sas_0-1591141821700.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 23:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Numeric-Format-for-negative-sign/m-p/652708#M24159</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-06-02T23:50:33Z</dc:date>
    </item>
  </channel>
</rss>

