<?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: Here i Need a solution for below problem...? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854962#M37674</link>
    <description>&lt;P&gt;is mynumber numeric? if it's numeric, then you can do strip(put(mynumber,8.2)).&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jan 2023 11:41:15 GMT</pubDate>
    <dc:creator>tarheel13</dc:creator>
    <dc:date>2023-01-21T11:41:15Z</dc:date>
    <item>
      <title>Here i Need a solution for below problem...?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854527#M37652</link>
      <description>&lt;P&gt;Here i Need a solution for below problem. i need output should be like 25.45 only that to be by using string functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data ex1 ;&lt;/P&gt;&lt;P&gt;mynumber=25.45789;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 10:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854527#M37652</guid>
      <dc:creator>Allihaveneed892</dc:creator>
      <dc:date>2023-01-19T10:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Here i Need a solution for below problem...?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854530#M37653</link>
      <description>&lt;P&gt;Why do you want to use only string functions?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 11:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854530#M37653</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2023-01-19T11:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Here i Need a solution for below problem...?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854741#M37667</link>
      <description>because its a TASK to me. but i couldn't find solution&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jan 2023 05:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854741#M37667</guid>
      <dc:creator>Allihaveneed892</dc:creator>
      <dc:date>2023-01-20T05:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Here i Need a solution for below problem...?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854743#M37668</link>
      <description>&lt;P&gt;So you have a character string and you just want to take the first 5 characters?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use substr().&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  string='25.45789';
  new_string=substr(string,1,5);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the actual request is not to just take the first 5 character then please explain the rule more completely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also why did you call the variable MYNUMBER if you want it to be a character variable?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 05:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854743#M37668</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-01-20T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Here i Need a solution for below problem...?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854762#M37671</link>
      <description>&lt;P&gt;So this task is meant to test&amp;nbsp;&lt;EM&gt;your&lt;/EM&gt; skills, not&amp;nbsp;&lt;EM&gt;ours&lt;/EM&gt; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What is the actual rule? Take the first 5 characters, or reduce to 2 fractional digits, with or without rounding?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854762#M37671</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-20T08:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Here i Need a solution for below problem...?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854962#M37674</link>
      <description>&lt;P&gt;is mynumber numeric? if it's numeric, then you can do strip(put(mynumber,8.2)).&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 11:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Here-i-Need-a-solution-for-below-problem/m-p/854962#M37674</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2023-01-21T11:41:15Z</dc:date>
    </item>
  </channel>
</rss>

