<?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: Display 1 million as 1 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696796#M212899</link>
    <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;said, use the ROUND option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;

picture zlotowkiR (ROUND)
low - high = '000,000,000 mln PLN' (mult=0.000001)
;

picture zlotowki
low - high = '000,000,000.0 mln PLN' (mult=0.00001)
;
run;


Data example;
format x best. y zlotowki. z zlotowkiR. ;
input x;
y = x;
z = x;
cards;
1000000
161391185
35257624389
;
run;
proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;pozdrowienia&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 08:15:05 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2020-11-05T08:15:05Z</dc:date>
    <item>
      <title>Display 1 million as 1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696784#M212890</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using proc report to calculate sum of revenue and the numbers are in local currency (PLN).&lt;/P&gt;
&lt;P&gt;I need to display the numbers in millions:&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;1,000,000 will be displayed as 2&lt;/P&gt;
&lt;P&gt;161,391,185 will be displayed as 161.3(then I want to round it to 161)&lt;/P&gt;
&lt;P&gt;35,257,624,389 will dispalyed as 35,257.6 (then I want to round it to 35,258)&lt;/P&gt;
&lt;P&gt;what is the correct way to do it with picture format?&lt;/P&gt;
&lt;P&gt;Data example;&lt;/P&gt;
&lt;P&gt;input x;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;1000000&lt;/P&gt;
&lt;P&gt;161391185&lt;/P&gt;
&lt;P&gt;35257624389&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 07:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696784#M212890</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-11-05T07:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display 1 million as 1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696789#M212894</link>
      <description>&lt;P&gt;What have you tried? Did you see the &lt;EM&gt;multiplier&lt;/EM&gt; option?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 07:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696789#M212894</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-05T07:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Display 1 million as 1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696796#M212899</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;said, use the ROUND option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;

picture zlotowkiR (ROUND)
low - high = '000,000,000 mln PLN' (mult=0.000001)
;

picture zlotowki
low - high = '000,000,000.0 mln PLN' (mult=0.00001)
;
run;


Data example;
format x best. y zlotowki. z zlotowkiR. ;
input x;
y = x;
z = x;
cards;
1000000
161391185
35257624389
;
run;
proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;pozdrowienia&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 08:15:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696796#M212899</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-11-05T08:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Display 1 million as 1</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696909#M212955</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using proc report to calculate sum of revenue and the numbers are in local currency (PLN).&lt;/P&gt;
&lt;P&gt;I need to display the numbers in millions:&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;1,000,000 will be displayed as 2&lt;/P&gt;
&lt;P&gt;161,391,185 will be displayed as 161.3(then I want to round it to 161)&lt;/P&gt;
&lt;P&gt;35,257,624,389 will dispalyed as 35,257.6 (then I want to round it to 35,258)&lt;/P&gt;
&lt;P&gt;what is the correct way to do it with picture format?&lt;/P&gt;
&lt;P&gt;Data example;&lt;/P&gt;
&lt;P&gt;input x;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;1000000&lt;/P&gt;
&lt;P&gt;161391185&lt;/P&gt;
&lt;P&gt;35257624389&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which is it? The subject line of your post says "Re: Display 1 million as 1". Your data above says "1,000,000 will be displayed as 2".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any values less than 1,000,000? If so you need to specify how you expect those to appear as well as a number of possible solutions that work for your shown values may well result in those other values not appearing as desired.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 15:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-1-million-as-1/m-p/696909#M212955</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-05T15:40:35Z</dc:date>
    </item>
  </channel>
</rss>

