<?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: Need help with data table; dollar sign isn't showing in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607449#M176606</link>
    <description>&lt;P&gt;If you want your values displayed in a special way then tell that to SAS by attaching a format to the varaible.&lt;/P&gt;
&lt;P&gt;The built in DOLLAR format will display numbers with a $ prefix and thousands separators.&lt;/P&gt;
&lt;P&gt;If that is not what you want then build your own format using PROC FORMAT.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2019 17:52:43 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-11-26T17:52:43Z</dc:date>
    <item>
      <title>Need help with data table; dollar sign isn't showing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607435#M176597</link>
      <description>&lt;P&gt;Hello experts, I'm trying to make a data table and my values for RtlCost should have a dollar sign included, but it doesn't. I have tried using the dollar format but that adds another column labelled as format to my table, which i don't want. Please help! Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;data problem3;&lt;BR /&gt;input ProdNum ProdName$ 6-27 ManuNum PodType$33-43 RtlCost comma7.0;&lt;BR /&gt;cards;&lt;BR /&gt;5009 Dream Machine&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500 Workstation $3,200&lt;BR /&gt;4506 Business Machine&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 450 Workstation $3,345&lt;BR /&gt;2101 Travel Laptop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400 Laptop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2,760&lt;BR /&gt;2212 Analog Cell Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 230&amp;nbsp;Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $35&lt;BR /&gt;4509 Digital Cell Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 245&amp;nbsp;Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $175&lt;BR /&gt;5003 Office Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 560&amp;nbsp;Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $145&lt;BR /&gt;1110 Spreadsheet Software&amp;nbsp;&amp;nbsp; 134 Software&amp;nbsp;$300&lt;BR /&gt;1200 Database Software&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 113 Software&amp;nbsp;$799&lt;BR /&gt;3409 Statistical Software&amp;nbsp;&amp;nbsp; 243 Software&amp;nbsp;$1,899&lt;BR /&gt;2102 Wordprocessor Software 245 Software&amp;nbsp;$345&lt;BR /&gt;2200 Graphics Software&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 246&amp;nbsp;Software&amp;nbsp;$599&lt;BR /&gt;;&lt;BR /&gt;proc print data=problem3;&lt;BR /&gt;run;&lt;BR /&gt;proc sql;&lt;BR /&gt;insert into problem3&lt;BR /&gt;values(3480, 'Desktop Computer', 780, 'Workstation', 1799);&lt;BR /&gt;select *&amp;nbsp;&lt;BR /&gt;from problem3;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 17:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607435#M176597</guid>
      <dc:creator>user1942</dc:creator>
      <dc:date>2019-11-26T17:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with data table; dollar sign isn't showing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607437#M176598</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data problem3;
format RtlCost dollar8.0;
input ProdNum ProdName$ 6-27 ManuNum PodType$33-43 RtlCost dollar8.0;

put (_all_) (=);
cards;
5009 Dream Machine          500 Workstation $3,200
4506 Business Machine       450 Workstation $3,345
2101 Travel Laptop          400 Laptop      $2,760
2212 Analog Cell Phone      230 Phone       $35
4509 Digital Cell Phone     245 Phone       $175
5003 Office Phone           560 Phone       $145
1110 Spreadsheet Software   134 Software    $300
1200 Database Software      113 Software    $799
3409 Statistical Software   243 Software    $1,899
2102 Wordprocessor Software 245 Software    $345
2200 Graphics Software      246 Software    $599
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;26         data problem3;
27         format RtlCost dollar8.0;
28         input ProdNum ProdName$ 6-27 ManuNum PodType$33-43 RtlCost dollar8.0;
29         
30         put (_all_) (=);
31         cards;

RtlCost=$3,200 ProdNum=5009 ProdName=Dream Machine ManuNum=500 PodType=Workstation
RtlCost=$3,345 ProdNum=4506 ProdName=Business Machine ManuNum=450 PodType=Workstation
RtlCost=$2,760 ProdNum=2101 ProdName=Travel Laptop ManuNum=400 PodType=Laptop
RtlCost=$35 ProdNum=2212 ProdName=Analog Cell Phone ManuNum=230 PodType=Phone
RtlCost=$175 ProdNum=4509 ProdName=Digital Cell Phone ManuNum=245 PodType=Phone
RtlCost=$145 ProdNum=5003 ProdName=Office Phone ManuNum=560 PodType=Phone
RtlCost=$300 ProdNum=1110 ProdName=Spreadsheet Software ManuNum=134 PodType=Software
RtlCost=$799 ProdNum=1200 ProdName=Database Software ManuNum=113 PodType=Software
RtlCost=$1,899 ProdNum=3409 ProdName=Statistical Software ManuNum=243 PodType=Software
RtlCost=$345 ProdNum=2102 ProdName=Wordprocessor Software ManuNum=245 PodType=Software
RtlCost=$599 ProdNum=2200 ProdName=Graphics Software ManuNum=246 PodType=Software
NOTE: The data set WORK.PROBLEM3 has 11 observations and 5 variables.
NOTE: Compressing data set WORK.PROBLEM3 increased size by 100.00 percent. 
      Compressed is 2 pages; un-compressed would require 1 pages.&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Nov 2019 17:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607437#M176598</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-11-26T17:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with data table; dollar sign isn't showing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607449#M176606</link>
      <description>&lt;P&gt;If you want your values displayed in a special way then tell that to SAS by attaching a format to the varaible.&lt;/P&gt;
&lt;P&gt;The built in DOLLAR format will display numbers with a $ prefix and thousands separators.&lt;/P&gt;
&lt;P&gt;If that is not what you want then build your own format using PROC FORMAT.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 17:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607449#M176606</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-26T17:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with data table; dollar sign isn't showing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607524#M176635</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292156"&gt;@user1942&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello experts, I'm trying to make a data table and my values for RtlCost should have a dollar sign included, but it doesn't. I have tried using the dollar format but that&lt;FONT color="#ff00ff"&gt;&lt;STRONG&gt; adds another column labelled as format to my table&lt;/STRONG&gt;&lt;/FONT&gt;, which i don't want. Please help! Here is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Probably means that you had a syntax problem. Show us the code with the messages from the log that did that.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 22:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-data-table-dollar-sign-isn-t-showing/m-p/607524#M176635</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-26T22:40:17Z</dc:date>
    </item>
  </channel>
</rss>

