<?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 Format issue in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303018#M17103</link>
    <description>&lt;P&gt;Hi I am getting below format issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format&amp;nbsp;&lt;BR /&gt;picture dollrfmt (round)&lt;BR /&gt;low - &amp;lt; 0 = '00,000)' (mult=.001 prefix='($')&lt;BR /&gt;0 - high = '00,000' (mult=.001 prefix='$');&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The number are represented below in 000 format as i want to represent the amounts in 000 's format but i am getting decimals which i don't want&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;$23,100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$5,182.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$3,325.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$2,070.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$18.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am expecting the results in below format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;$23,100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$5,183&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$3,326&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$2,070&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using ods excelp xp tagsets and proc report,I am applying the format in proc report.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 20:16:33 GMT</pubDate>
    <dc:creator>JasonNC</dc:creator>
    <dc:date>2016-10-06T20:16:33Z</dc:date>
    <item>
      <title>Format issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303018#M17103</link>
      <description>&lt;P&gt;Hi I am getting below format issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format&amp;nbsp;&lt;BR /&gt;picture dollrfmt (round)&lt;BR /&gt;low - &amp;lt; 0 = '00,000)' (mult=.001 prefix='($')&lt;BR /&gt;0 - high = '00,000' (mult=.001 prefix='$');&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The number are represented below in 000 format as i want to represent the amounts in 000 's format but i am getting decimals which i don't want&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;$23,100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$5,182.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$3,325.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$2,070.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$18.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am expecting the results in below format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;$23,100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$5,183&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$3,326&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;$2,070&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using ods excelp xp tagsets and proc report,I am applying the format in proc report.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 20:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303018#M17103</guid>
      <dc:creator>JasonNC</dc:creator>
      <dc:date>2016-10-06T20:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Format issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303025#M17107</link>
      <description>&lt;P&gt;Excel doesn't always&amp;nbsp;honor the SAS format unless you use TAGATTR to specify the override appearance once it gets to Excel&amp;nbsp;in the proc report code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that if you look at the cell in Excel for the number format you may actualy see it is set to a dollar format which will default to 2 decimals in Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 20:28:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303025#M17107</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-10-06T20:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Format issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303314#M17125</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the first line below should probably do the trick in terms of a TAGATTR. &amp;nbsp;The second line below is an example from a PROC REPORT. &amp;nbsp;Different format, but it should give you an idea of what it would look like in a PROC REPORT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;[TAGATTR="FORMAT:$#,##0"]

DEFINE	TIP_PIN_N 	/	DISPLAY		STYLE(COLUMN)	=	[BACKGROUND=WhiteSmoke	TAGATTR="FORMAT:##########"	FONT=("Calibri",8pt) ];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See also:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/266-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/266-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 21:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Format-issue/m-p/303314#M17125</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2016-10-07T21:51:33Z</dc:date>
    </item>
  </channel>
</rss>

