<?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 Round up to nearest 500 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784145#M250181</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to round up to nearest 500.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;Value 200 should be rounded to 500&lt;/P&gt;
&lt;P&gt;Value 400 should be rounded to 500&lt;/P&gt;
&lt;P&gt;Value 500 should be stay 500&lt;/P&gt;
&lt;P&gt;Value 4400 should be rounded to 4500&lt;/P&gt;
&lt;P&gt;Value 4000 should be stay 4000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is the way to doi it please?&lt;/P&gt;</description>
    <pubDate>Sun, 05 Dec 2021 08:16:53 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2021-12-05T08:16:53Z</dc:date>
    <item>
      <title>Round up to nearest 500</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784145#M250181</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to round up to nearest 500.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;Value 200 should be rounded to 500&lt;/P&gt;
&lt;P&gt;Value 400 should be rounded to 500&lt;/P&gt;
&lt;P&gt;Value 500 should be stay 500&lt;/P&gt;
&lt;P&gt;Value 4400 should be rounded to 4500&lt;/P&gt;
&lt;P&gt;Value 4000 should be stay 4000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is the way to doi it please?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 08:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784145#M250181</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2021-12-05T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Round up to nearest 500</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784149#M250183</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;target = round(source,500);
if target &amp;lt; source then target = target + 500;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Dec 2021 08:36:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784149#M250183</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-12-05T08:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Round up to nearest 500</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784157#M250189</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input x;
want=ceil(x/500)*500;
cards;
200
400
500
4400
4000
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Dec 2021 10:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784157#M250189</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-05T10:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Round up to nearest 500</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784164#M250192</link>
      <description>&lt;P&gt;My solution:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input x;
want=roundz(x+250,500);
cards;
200
400
500
4400
4000
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Dec 2021 12:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Round-up-to-nearest-500/m-p/784164#M250192</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-12-05T12:00:48Z</dc:date>
    </item>
  </channel>
</rss>

