<?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: multiplying a variable for -1 in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/multiplying-a-variable-for-1/m-p/884161#M39245</link>
    <description>&lt;P&gt;You could actually try running the code and seeing what happens with your own eyes, does the value of VARIABLE change? What does it change to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But let me ask another question — forget SAS for a moment, just answer based upon what you have learned about math in your life — what do you get if you multiply a number, let's say the number 5, by -1 ? Do this in your head or on paper, what do you get?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 11:12:33 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-07-10T11:12:33Z</dc:date>
    <item>
      <title>multiplying a variable for -1</title>
      <link>https://communities.sas.com/t5/New-SAS-User/multiplying-a-variable-for-1/m-p/884146#M39242</link>
      <description>&lt;P&gt;HI, i'm trying to understand a code, i found the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Db_1;
set db;
variable= variable*(-1) ;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;what could be the reason? i can't understand this data step&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 07:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/multiplying-a-variable-for-1/m-p/884146#M39242</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2023-07-10T07:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: multiplying a variable for -1</title>
      <link>https://communities.sas.com/t5/New-SAS-User/multiplying-a-variable-for-1/m-p/884161#M39245</link>
      <description>&lt;P&gt;You could actually try running the code and seeing what happens with your own eyes, does the value of VARIABLE change? What does it change to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But let me ask another question — forget SAS for a moment, just answer based upon what you have learned about math in your life — what do you get if you multiply a number, let's say the number 5, by -1 ? Do this in your head or on paper, what do you get?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 11:12:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/multiplying-a-variable-for-1/m-p/884161#M39245</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-07-10T11:12:33Z</dc:date>
    </item>
  </channel>
</rss>

