<?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: Format: Change Floating Points to Zero in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194253#M14784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand. If the current value is 100.00 you want to display 0 or 100?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 21:48:13 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-08-06T21:48:13Z</dc:date>
    <item>
      <title>Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194249#M14780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have these points (or floating points?) in column Buy In, see image below.&amp;nbsp; I want to create a user defined format to change floating points tp zero because it's easier to handle them in excel.&lt;/P&gt;&lt;P&gt;I got the steps from this community on how to do it but it's doesn't give me what I want.&amp;nbsp; Help please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/11337_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 21:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194249#M14780</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T21:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194250#M14781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Forgot to add, these are the instructions I was given on this site:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;In EG, click Tasks-&amp;gt;Data-&amp;gt;Create Format to start the&lt;BR /&gt;Create Format task (or you can just submit the code below, similar to what the&lt;BR /&gt;task will generate)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Give the format a name (ex. "MissingLabelFmt")&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Check &lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;Specify&lt;BR /&gt;format width&lt;/STRONG&gt; and give it a reasonable width (ex. 12)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;On the Define Formats page, click &lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;New&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Specify your desired label (ex. "Other" or&lt;BR /&gt;"Missing")&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;In the Range definition area, select &lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;Missing values&lt;/STRONG&gt; in the&lt;BR /&gt;Values dropdown&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Run the task&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;After&lt;BR /&gt;creating the user-defined format, apply it to your column...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;In the EG Query Builder (where you did the join), on the &lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;Select Data&lt;/STRONG&gt; tab,&lt;BR /&gt;double-click the MarketingZone variable&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Click the &lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;Change&lt;/STRONG&gt;&lt;BR /&gt;button next to the Format field&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Click the User Defined category and select the format you&lt;BR /&gt;defined (ex. $MISSINGLABELFMT.)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Click Ok, Ok, then Run&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 21:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194250#M14781</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T21:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194251#M14782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by "change floating point to 0"? do you mean to no display the decimal part or to remove any decimal part? A format like F4.0 would not display any decimal. If you still want $ to appear then try a format like dollar6.0.&lt;/P&gt;&lt;P&gt;To change the value round with the Round function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 21:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194251#M14782</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-06T21:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194252#M14783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to change any rows with decimal point to zero.&amp;nbsp; I would I do that . Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 21:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194252#M14783</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T21:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194253#M14784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand. If the current value is 100.00 you want to display 0 or 100?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 21:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194253#M14784</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-06T21:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194254#M14785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to the missing values which SAS display as a point.&amp;nbsp; I want those missing values to display zero. Sorry for the confusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 21:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194254#M14785</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T21:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194255#M14786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use EG. This code generates a format that does what I think you are asking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format library=work;&lt;/P&gt;&lt;P&gt;value mydollar&lt;/P&gt;&lt;P&gt;. = '$0'&amp;nbsp;&amp;nbsp; /* if you don't want $ to appear then just '0'*/&lt;/P&gt;&lt;P&gt;other=[dollar8.2]&amp;nbsp;&amp;nbsp; /* what ever the current format you are using for that column goes inside [ ]*/&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Assign the MYDOLLAR format after it is created to the column(s) needed.&lt;/P&gt;&lt;P&gt;If you have a mixture of desired output like $ format and simple format like F4.2 you would need a separate format for each.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194255#M14786</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-06T22:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194256#M14787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I followed your steps and the Program runs but I couldn't find the format in the assigned work.query dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:27:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194256#M14787</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T22:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194257#M14788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are the codes I inputted in Program&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image-thumbnail jive-image" height="160" src="https://communities.sas.com/legacyfs/online/11338_Capture.PNG" width="646" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194257#M14788</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T22:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194258#M14789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just the library. I would expect to get an error work.query...&lt;/P&gt;&lt;P&gt;The format would be the WORK library. I would expect that just going to assign format method you should be able to find MYDOLLAR in the list of available formats, or type in the name of the library.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 23:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194258#M14789</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-06T23:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Format: Change Floating Points to Zero</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194259#M14790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was helpful.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 23:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-Change-Floating-Points-to-Zero/m-p/194259#M14790</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-08-06T23:30:10Z</dc:date>
    </item>
  </channel>
</rss>

