<?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: DataFlux Expression Challenge in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Expression-Challenge/m-p/195896#M4235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need parenthesis in your calculation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Score = (`Triggers` * 100)&amp;nbsp; / `Rows_Process`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;What are the variable types for Triggers and Rows_Process? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Coercion may be causing this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If a part of an expression is not the type expected in that context, it is converted into the &lt;/SPAN&gt;correct type. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;A type can be coerced into some other types.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 14:20:53 GMT</pubDate>
    <dc:creator>skillman</dc:creator>
    <dc:date>2015-03-06T14:20:53Z</dc:date>
    <item>
      <title>DataFlux Expression Challenge</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Expression-Challenge/m-p/195895#M4234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As part of a Data Job, we are including an expression node, trying to achieve a simple scoring output, the code we are using is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Real Score&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Score = `Triggers` *100&amp;nbsp; / `Rows_Process`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were expecting an .decimal as part of the output, however we are getting the output as 1 or 0,&amp;nbsp; Trying to understand if we are doing anything wrong with our formulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appreciate any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 08:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Expression-Challenge/m-p/195895#M4234</guid>
      <dc:creator>Ronny_Dsouza</dc:creator>
      <dc:date>2015-03-06T08:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: DataFlux Expression Challenge</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Expression-Challenge/m-p/195896#M4235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need parenthesis in your calculation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Score = (`Triggers` * 100)&amp;nbsp; / `Rows_Process`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;What are the variable types for Triggers and Rows_Process? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Coercion may be causing this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If a part of an expression is not the type expected in that context, it is converted into the &lt;/SPAN&gt;correct type. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;A type can be coerced into some other types.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 14:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DataFlux-Expression-Challenge/m-p/195896#M4235</guid>
      <dc:creator>skillman</dc:creator>
      <dc:date>2015-03-06T14:20:53Z</dc:date>
    </item>
  </channel>
</rss>

