<?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: what is round function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889364#M1011502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round() will rounds off to the nearest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round(0.2) - Gives 0, because nearest integer is 0 (because 0 is nearest -0.2, and 0.8 to 1 so it returns 0)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Round(0.7) - Gives 1, because nearest integer is 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(3.88,5) - Returns 5, here we are rounding off by 5, so nearest integer is 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(1.88,5) - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Returns 0, here we are rounding off by 5, so nearest integer is 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(3.88,6) &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round(3.88,7) - &lt;/SPAN&gt;Returns 6 and 7 respectively, since the nearest integer is 6 and 7 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(3.88,8) - Returns 0, since nearest is 0 (i.e., -3.88,&amp;nbsp; wherease for 8 is 4.12 so it returns 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you in understanding the Round function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 06:19:12 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-04-23T06:19:12Z</dc:date>
    <item>
      <title>what is round function</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889361#M1011496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i write this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; round(3.88,5)&lt;/P&gt;&lt;P&gt;it returns 5,6,7 it was executed...&lt;/P&gt;&lt;P&gt;when i return 8 it gives zero is answer what s the reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 03:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889361#M1011496</guid>
      <dc:creator />
      <dc:date>2015-04-23T03:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: what is round function</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889362#M1011498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kumar, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an extract from QlikView's reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Rounding of x upwards or downwards to the nearest multiple of base with an offset of offset. The result is a &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;number. If x is exactly in the middle of an interval, it is rounded upwards.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it means that if you have:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;round(3.88, 5) &lt;/SPAN&gt;&lt;/STRONG&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;you will get 5, because base is the number (or increments) that Qlik user to round the number. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If you type:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;round (6.5, 5)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You still get 5, because it's the nearest integer, but if you type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;round(8.5, 5)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get 10, because 5 is your base, that means that QlikView will round to nearest number multiple of 5. In the reference manual you can get more examples of how to use this function and the other parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 05:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889362#M1011498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T05:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: what is round function</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889363#M1011500</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;In round()&lt;/P&gt;&lt;P&gt;your 1st parameter is Number which you want to round&lt;/P&gt;&lt;P&gt;and 2nd parameter is your base or you can say Interval which round up to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example in above example round(Number,5)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Your base is in interval of 5 i.e. 0,5,10,15,20,25 and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if you replace Number with&lt;/P&gt;&lt;P&gt;1)3.88&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output is nearest interval i.e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;lt;&lt;STRONG&gt;3.88&amp;lt;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2)2.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output is nearest interval i.e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;0&amp;lt;2.4&lt;/STRONG&gt;&amp;lt;5&lt;/P&gt;&lt;P&gt;3)23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output is nearest interval i.e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;STRONG&gt;&amp;lt;23&amp;lt;25&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5)22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output is nearest interval i.e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;20&amp;lt;22&lt;/STRONG&gt;&amp;lt;25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you get how round() work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 05:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889363#M1011500</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-04-23T05:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: what is round function</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889364#M1011502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round() will rounds off to the nearest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round(0.2) - Gives 0, because nearest integer is 0 (because 0 is nearest -0.2, and 0.8 to 1 so it returns 0)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Round(0.7) - Gives 1, because nearest integer is 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(3.88,5) - Returns 5, here we are rounding off by 5, so nearest integer is 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(1.88,5) - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Returns 0, here we are rounding off by 5, so nearest integer is 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(3.88,6) &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round(3.88,7) - &lt;/SPAN&gt;Returns 6 and 7 respectively, since the nearest integer is 6 and 7 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;round(3.88,8) - Returns 0, since nearest is 0 (i.e., -3.88,&amp;nbsp; wherease for 8 is 4.12 so it returns 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you in understanding the Round function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 06:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889364#M1011502</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-04-23T06:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: what is round function</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889365#M1011504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Round function returns the nearest value as per your expectation in the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sea the followings.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="font-size: 10pt;"&gt;round(3.88, 5) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;you will get 5, because base is the number (or increments) that Qlik user to round the number. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you type:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;round (6.5, 5)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You still get 5, because it's the nearest integer, but if you type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;round(8.5, 5)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get 10, because 5 is your base, that means that QlikView will round to nearest number multiple of 5. In the reference manual you can get more examples of how to use this function and the other parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 08:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-round-function/m-p/889365#M1011504</guid>
      <dc:creator />
      <dc:date>2015-04-23T08:56:49Z</dc:date>
    </item>
  </channel>
</rss>

