<?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: rounding values of variables in a dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614925#M18690</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;You can use the round() function :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;C11_rounded = round(c11, .001);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Best,&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2020 09:02:52 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-01-03T09:02:52Z</dc:date>
    <item>
      <title>rounding values of variables in a dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614921#M18689</link>
      <description>&lt;P&gt;like i want to round the values of variables c11,c12,c13 in a dataset named final to three decimal places. how to do it?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 07:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614921#M18689</guid>
      <dc:creator>TANMOY05</dc:creator>
      <dc:date>2020-01-03T07:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: rounding values of variables in a dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614925#M18690</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;You can use the round() function :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;C11_rounded = round(c11, .001);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Best,&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 09:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614925#M18690</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-01-03T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: rounding values of variables in a dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614941#M18693</link>
      <description>&lt;P&gt;You could use a format to round variables, rather than using the ROUND function. But it really depends on what you plan to do with these variables after the rounding or formatting. What are you going to do with the variables after the rounding or formatting?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format c11 c12 c13 10.3;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 11:59:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/rounding-values-of-variables-in-a-dataset/m-p/614941#M18693</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-03T11:59:52Z</dc:date>
    </item>
  </channel>
</rss>

