<?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: Prob regarding Floor ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794365#M1025330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanx, but i am confused about that:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; color: #3d3d3d; background-color: #f6f6f6;"&gt;floor( 3.88 , 0.1 ) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;, does this 0.1 indicates it will round to 1 decimal place after decimal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;floor( 6.88 , 5 ) , i dont understand what 5 means here, is it nmber of place or what?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;THanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 10:17:35 GMT</pubDate>
    <dc:creator>nikhilgarg</dc:creator>
    <dc:date>2015-02-26T10:17:35Z</dc:date>
    <item>
      <title>Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794363#M1025328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;If we use floor(2.6), it will give the lower value i.e.2.0&lt;/P&gt;&lt;P&gt;But, i dont understand following result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;floor( 3.88 , 0.1 ) &lt;/SPAN&gt;returns 3.8&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;floor( 3.88 , 5 ) &lt;/SPAN&gt;returns 0&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;floor( 1.1 , 1 , 0.5 ) &lt;/SPAN&gt;returns 0.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tHanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 09:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794363#M1025328</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-02-26T09:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794364#M1025329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;floor( 3.88 , 0.1 ) &lt;/SPAN&gt;returns 3.8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- This rounds upto 0.1 so 3.88 becomes 3.8 (0.08 is rounded)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;floor( 3.88 , 5 ) &lt;/SPAN&gt;returns 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- This rounds upto 5, so 3.88 becomes 0 (since 3.88 is less than 5)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;floor( 6.88 , 5 ) returns 5&amp;nbsp; --- Here we are rounding by multiples of 5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;floor(10.22, 5) returns 5 --- Same as above&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;floor( 1.1 , 1 , 0.5 ) &lt;/SPAN&gt;returns 0.5 - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;floor( 1.1 , 1) rounds to 1 and offset 0.5 will return 0.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN class="Bold" style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;floor( 2.1 , 1 , 0.5 ) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;returns 0.5 - &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;floor( 2.1 , 1) rounds to 2 and offset 0.5 will return 1.5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN class="Bold" style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope it helps you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 10:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794364#M1025329</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-26T10:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794365#M1025330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanx, but i am confused about that:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; color: #3d3d3d; background-color: #f6f6f6;"&gt;floor( 3.88 , 0.1 ) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;, does this 0.1 indicates it will round to 1 decimal place after decimal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;floor( 6.88 , 5 ) , i dont understand what 5 means here, is it nmber of place or what?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;THanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 10:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794365#M1025330</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-02-26T10:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794366#M1025331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Range is 0 to 1&lt;/P&gt;&lt;P&gt;Floor(3.88) it will give you the result without any decimal points, which is equal to Floor(3.88, 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Range is 0 to 5&lt;/P&gt;&lt;P&gt;When it comes to Floor(3.88, 5) will give you 0, but Floor(6, 5) will give you 5&lt;BR /&gt;Assume 5 is the higher round off and 0 is lower one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Floor(3.88, 0.1) it will &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;give you the result&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; up to 1 decimal point&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 10:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794366#M1025331</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-02-26T10:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794367#M1025332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;floor(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;x [ , base [ , offset ]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Rounding of &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt; downwards to the nearest multiple of &lt;SPAN class="Italic"&gt;base&lt;/SPAN&gt; with an offset of &lt;SPAN class="Italic"&gt;offset&lt;/SPAN&gt;. The result is a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case x=3.88 base=0.1 offset is not mentioned&lt;/P&gt;&lt;P&gt;You should check for the largest multiple of 0.1(.....,3.5,3.6,3.7,3.8) which is less than 3.88, is 3.8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For suppose x=4.05 base=0.2 offset is not mentioned&lt;/P&gt;&lt;P&gt;The largest multiple of 0.2 (......,3.6,3.8,4.0) which is less than 4.05 is 4.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly x=3.88, base=5,offset is not mentioned&lt;/P&gt;&lt;P&gt;largest multiple of 5 which is&amp;nbsp; less than 3.88 is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when x=1.1,base=1,offset=0.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we will do that in two steps,when x=1.1, base=1 and then solve for offset. The solution for this is 1&lt;/P&gt;&lt;P&gt;When we add offset in floor() this it is just flooring the answer in above case by offset value therefore it becomes 0.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 10:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794367#M1025332</guid>
      <dc:creator />
      <dc:date>2015-02-26T10:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794368#M1025333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this post &lt;A class="jive-link-external-small" href="http://rounding-errors/" rel="nofollow"&gt;&lt;SPAN style="color: #3778c7;"&gt;Rounding-errors&lt;/SPAN&gt;&lt;/A&gt; by henric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 11:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794368#M1025333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794369#M1025334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanx shiva. This helps me understanding the floor. But if u see&lt;/P&gt;&lt;P&gt;example given by jagan, floor(10.22,5) should give 10 but according to&lt;/P&gt;&lt;P&gt;jagan it give 5 . can u help in dis?&lt;/P&gt;&lt;P&gt;On 26-Feb-2015 4:05 PM, "Shiva Kumar Thoutam" &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 11:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794369#M1025334</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-02-26T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794370#M1025335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would be a typo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 11:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794370#M1025335</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-02-26T11:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794371#M1025336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ohk, so you mean: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;floor(10.22, 5) returns 10. Isn't it ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also does offset subtracts that much value from returned value ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 11:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794371#M1025336</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-02-26T11:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794372#M1025337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes nikhil its typo&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;floor(10.22, 5) returns 10&amp;nbsp; --- it 's rounding by multiples of 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 11:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794372#M1025337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-26T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Prob regarding Floor ?</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794373#M1025338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I just checked the link but no webpage was there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tHanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 11:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-regarding-Floor/m-p/794373#M1025338</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-02-26T11:25:47Z</dc:date>
    </item>
  </channel>
</rss>

