<?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 How to use PICTURE FORMAT? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571345#M12153</link>
    <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Hi Can anyone help me understanding in how PICTURE FORMAT works?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;I have following code, but it's formatting 1 million and 10 millions as same and mistaking bigger numbers - &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mill&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;-high = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;' 000.9M'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;prefix&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'EUR '&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;mult&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.000001&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; _temp_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; x ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1000000&lt;/P&gt;&lt;P&gt;10000000&lt;/P&gt;&lt;P&gt;100000000&lt;/P&gt;&lt;P&gt;1000000000&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; y;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; _temp_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;y = put(x,&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;mill.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Output:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;1000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EUR 1M&lt;BR /&gt;10000000&amp;nbsp;&amp;nbsp;&amp;nbsp; EUR 1.0M&lt;BR /&gt;100000000&amp;nbsp;&amp;nbsp; EUR 10.0M&lt;BR /&gt;1000000000&amp;nbsp; EUR 100.0M&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2019 09:47:20 GMT</pubDate>
    <dc:creator>thepushkarsingh</dc:creator>
    <dc:date>2019-07-05T09:47:20Z</dc:date>
    <item>
      <title>How to use PICTURE FORMAT?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571345#M12153</link>
      <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Hi Can anyone help me understanding in how PICTURE FORMAT works?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;I have following code, but it's formatting 1 million and 10 millions as same and mistaking bigger numbers - &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;picture&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; mill&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;-high = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;' 000.9M'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;prefix&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'EUR '&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;mult&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;.000001&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; _temp_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; x ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;datalines&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1000000&lt;/P&gt;&lt;P&gt;10000000&lt;/P&gt;&lt;P&gt;100000000&lt;/P&gt;&lt;P&gt;1000000000&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; y;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; _temp_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;y = put(x,&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;mill.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Output:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;1000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EUR 1M&lt;BR /&gt;10000000&amp;nbsp;&amp;nbsp;&amp;nbsp; EUR 1.0M&lt;BR /&gt;100000000&amp;nbsp;&amp;nbsp; EUR 10.0M&lt;BR /&gt;1000000000&amp;nbsp; EUR 100.0M&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 09:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571345#M12153</guid>
      <dc:creator>thepushkarsingh</dc:creator>
      <dc:date>2019-07-05T09:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PICTURE FORMAT?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571348#M12155</link>
      <description>&lt;P&gt;From the documentation of the multiplier= option:&lt;/P&gt;
&lt;PRE class="xis-codeFragment"&gt;picture million low-high='09.9M'
        (prefix='$' mult=.00001);&lt;/PRE&gt;
&lt;P&gt;So your code should be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
picture mill
  0-high = ' 009.9M' (prefix='EUR ' mult=.00001)
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The documentation will also tell you why this needs to be so.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 10:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571348#M12155</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-07-05T10:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PICTURE FORMAT?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571355#M12158</link>
      <description>Many thanks</description>
      <pubDate>Fri, 05 Jul 2019 11:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-use-PICTURE-FORMAT/m-p/571355#M12158</guid>
      <dc:creator>thepushkarsingh</dc:creator>
      <dc:date>2019-07-05T11:16:52Z</dc:date>
    </item>
  </channel>
</rss>

