<?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: make 0 instead of 0.0000000000027 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335863#M76072</link>
    <description>&lt;P&gt;Depending on what you're doing this may be relevant.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that value is calculated, it may be easier to change to calculation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0ji1unv6thm0dn1gp4t01a1u0g6.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0ji1unv6thm0dn1gp4t01a1u0g6.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2017 15:33:23 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-02-25T15:33:23Z</dc:date>
    <item>
      <title>make 0 instead of 0.0000000000027</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335851#M76069</link>
      <description>&lt;P&gt;HI I have a column called Claim, I want to create&amp;nbsp;a new column New_claim as shown below&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Claim&lt;/TD&gt;&lt;TD&gt;New_Claim&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.00000027&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.0000345&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.00000066&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.000045&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.00009&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.000000056&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.00000123&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 25 Feb 2017 12:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335851#M76069</guid>
      <dc:creator>subrat1</dc:creator>
      <dc:date>2017-02-25T12:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: make 0 instead of 0.0000000000027</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335852#M76070</link>
      <description>&lt;P&gt;Are you just looking for the ROUND function?&lt;/P&gt;
&lt;P&gt;It is hard to tell from your example if&amp;nbsp;you want to round the value to integers?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;new_claim = round(claim,1);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or perhaps to hundredths?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;new_claim = round(claim,0.01);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 12:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335852#M76070</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-25T12:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: make 0 instead of 0.0000000000027</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335861#M76071</link>
      <description>&lt;P&gt;Indeed we need to know the exact rule to be applied. Besides ROUND() there are also INT() and FUZZ().&amp;nbsp; Depending on the requirements one can pick and choose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Jan.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 14:37:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335861#M76071</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2017-02-25T14:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: make 0 instead of 0.0000000000027</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335863#M76072</link>
      <description>&lt;P&gt;Depending on what you're doing this may be relevant.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that value is calculated, it may be easier to change to calculation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0ji1unv6thm0dn1gp4t01a1u0g6.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#p0ji1unv6thm0dn1gp4t01a1u0g6.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 15:33:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-0-instead-of-0-0000000000027/m-p/335863#M76072</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-25T15:33:23Z</dc:date>
    </item>
  </channel>
</rss>

