<?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: Ceil,Floor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438335#M163403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suneela,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can refer pages 304,305 and 804,805 in the Qlikview Reference manual for a good explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;ceil(x [ , base [ , offset ]])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;&amp;nbsp; Rounding of x &lt;STRONG&gt;upwards&lt;/STRONG&gt; to the nearest multiple of base with an offset of offset. The result is a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;floor(x [ , base [ , offset ]])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; Rounding of x &lt;STRONG&gt;downwards &lt;/STRONG&gt;to the nearest multiple of base with an offset of offset. The result is a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;round(x [ , step [ , offset ]])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;Rounding of x &lt;STRONG&gt;upwards or downwards&lt;/STRONG&gt; n number of steps with an offset of offset. The result is a number. &lt;STRONG&gt;If x is exactly in the middle of an interval, it is rounded upwards&lt;/STRONG&gt;. The function complies with the IEEE standard&lt;/P&gt;&lt;P&gt;64-bit floating point numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 10:58:17 GMT</pubDate>
    <dc:creator>anandathome</dc:creator>
    <dc:date>2013-05-08T10:58:17Z</dc:date>
    <item>
      <title>Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438333#M163401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me out in understanding below functions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we use ceil,floor,round functions with parameters like below, giving the results mentioned. But I am not getting how it working. Can you give some explanation for those with parameters.&amp;nbsp;&amp;nbsp;&amp;nbsp; Like&amp;nbsp;&amp;nbsp; Ceil(2.6,0.25) ,Floor(2.6,0.25)&amp;nbsp; etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceil(2.5)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;Ceil(2.6, 0.25)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.75&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Floor(2.5)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;Floor(2.6, 0.25)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round(3.14)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;Round(3.16, 0.1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.20&lt;/P&gt;&lt;P&gt;Round(3.14, 0.1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suneela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 10:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438333#M163401</guid>
      <dc:creator />
      <dc:date>2013-05-08T10:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438334#M163402</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&gt;Refer this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/337447"&gt;http://community.qlik.com/message/337447&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 10:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438334#M163402</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2013-05-08T10:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438335#M163403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suneela,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can refer pages 304,305 and 804,805 in the Qlikview Reference manual for a good explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;ceil(x [ , base [ , offset ]])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;&amp;nbsp; Rounding of x &lt;STRONG&gt;upwards&lt;/STRONG&gt; to the nearest multiple of base with an offset of offset. The result is a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;floor(x [ , base [ , offset ]])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; Rounding of x &lt;STRONG&gt;downwards &lt;/STRONG&gt;to the nearest multiple of base with an offset of offset. The result is a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;round(x [ , step [ , offset ]])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;Rounding of x &lt;STRONG&gt;upwards or downwards&lt;/STRONG&gt; n number of steps with an offset of offset. The result is a number. &lt;STRONG&gt;If x is exactly in the middle of an interval, it is rounded upwards&lt;/STRONG&gt;. The function complies with the IEEE standard&lt;/P&gt;&lt;P&gt;64-bit floating point numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 10:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438335#M163403</guid>
      <dc:creator>anandathome</dc:creator>
      <dc:date>2013-05-08T10:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438336#M163404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Guys that was really very helpful, it works in my project. I was seeking for this months ago. &lt;/SPAN&gt;&lt;A href="http://www.naturalhomerugs.com/specialty-items/anti-fatigue-mats"&gt;anti fatigue comfort mats&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 11:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438336#M163404</guid>
      <dc:creator />
      <dc:date>2013-05-08T11:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438337#M163405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really helped. But can you explain when we given expression like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not have base. Then how it will work.What will it assume for base, or whether 0.5 is base or offset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceil(2.6,0.25)=2.75&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 11:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438337#M163405</guid>
      <dc:creator />
      <dc:date>2013-05-08T11:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438338#M163406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here 0.25 is just the &lt;STRONG&gt;base with no offset.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So your result will be in &lt;STRONG&gt;multiples of 0.25&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 11:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438338#M163406</guid>
      <dc:creator>anandathome</dc:creator>
      <dc:date>2013-05-08T11:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil,Floor</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438339#M163407</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&gt;Ceil(2.6,0.25)=2.75&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;If apply the offset 0.25, you get 0.25, 0.50, 0.75, 1.00, 1.25&lt;/P&gt;&lt;P&gt;The nearest higher number for 2.6 is 2.75&amp;nbsp; and so&amp;nbsp; ceil returns 2.75&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 12:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Floor/m-p/438339#M163407</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2013-05-08T12:07:33Z</dc:date>
    </item>
  </channel>
</rss>

