<?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: How to add two decimal points in a numerical value irrespective of its length? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737225#M229813</link>
    <description>&lt;P&gt;If you need to do this while reading from an external source, use a proper informat:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input number 10.2;
format number 10.2;
datalines;
180000
5676456
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Apr 2021 11:21:21 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-04-27T11:21:21Z</dc:date>
    <item>
      <title>How to add two decimal points in a numerical value irrespective of its length?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737214#M229808</link>
      <description>&lt;P&gt;I have a numerical variable which takes values of varied lengths. I want to add a decimal point before two last two digits in each value. For Example if the original value in a row is 180000, the new value should be 1800.00, and if its 5676456, the new value should be&amp;nbsp;56764..56&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I achieve this? Please help&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 10:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737214#M229808</guid>
      <dc:creator>Shradha1</dc:creator>
      <dc:date>2021-04-27T10:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add two decimal points in a numerical value irrespective of its length?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737215#M229809</link>
      <description>&lt;P&gt;Divide by 100 and use format 10.2 (or similar)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 10:52:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737215#M229809</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-27T10:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add two decimal points in a numerical value irrespective of its length?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737225#M229813</link>
      <description>&lt;P&gt;If you need to do this while reading from an external source, use a proper informat:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
input number 10.2;
format number 10.2;
datalines;
180000
5676456
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Apr 2021 11:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-add-two-decimal-points-in-a-numerical-value-irrespective/m-p/737225#M229813</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-27T11:21:21Z</dc:date>
    </item>
  </channel>
</rss>

