<?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: How to round nearest 10 value ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043708#M351052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;There is also Ceil and Floor functions in case you want to alway go up (Ceil(Number, 10)) or down (Floor(Number,10))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2016 13:36:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-29T13:36:17Z</dc:date>
    <item>
      <title>How to round nearest 10 value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043704#M351048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts ,&lt;/P&gt;&lt;P&gt;I want to round nearest 10 value ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How we can round nearest 10 value ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043704#M351048</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2016-04-29T07:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to round nearest 10 value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043705#M351049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joshua.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 08:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043705#M351049</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2016-04-29T08:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to round nearest 10 value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043706#M351050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;=round(1234,10)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns 1230, is that what you are after ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 08:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043706#M351050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T08:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to round nearest 10 value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043707#M351051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the Qlik help file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;A name="kanchor1231"&gt;&lt;/A&gt;&lt;A name="Ch_round"&gt;&lt;/A&gt;Round - script and chart function&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;Round()&lt;/SPAN&gt; returns the result of rounding &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;x&lt;/SPAN&gt; up or down to the nearest multiple of &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;step&lt;/SPAN&gt; [+ &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;offset&lt;/SPAN&gt;]. The default value of &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;offset&lt;/SPAN&gt; is 0. The default value of &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;step&lt;/SPAN&gt; is 1.&lt;/P&gt;&lt;P&gt;If &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;x&lt;/SPAN&gt; is exactly in the middle of an interval, it is rounded upwards. &lt;/P&gt;&lt;P class="syntax_heading" data-mc-autonum="Syntax: "&gt;&lt;SPAN class="autonumber"&gt;Syntax: &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax" data-mc-conditions="Primary.NotToTranslate"&gt;Round(x[, step[, offset]])&lt;/P&gt;&lt;P class="return_type" data-mc-autonum="Return data type: "&gt;&lt;SPAN class="autonumber"&gt;Return data type: &lt;/SPAN&gt; numeric&lt;/P&gt;&lt;P class="note"&gt;If you are rounding a floating point number you may experience results that are erroneous. These mostly insignificant rounding errors are due to that floating point numbers are represented by a finite number of binary digits. That results in &lt;SPAN class="PrimaryGenericName"&gt;QlikView&lt;/SPAN&gt; calculating with a number that is already rounded. If it is critical to have correct rounding, a workaround is to multiply the numbers to convert them to integers.&lt;/P&gt;&lt;P class="examples_results" data-mc-autonum="Examples and results: "&gt;&lt;SPAN class="autonumber"&gt;Examples and results: &lt;/SPAN&gt; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-right: auto;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH class="HeadI--"&gt;Examples&lt;/TH&gt;&lt;TH class="HeadG--"&gt;Results&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 3.8 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 3.8, 4 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 2.5 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 3. Rounded up because 2.5 is exactly half of the default step interval.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 2, 4 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 4. Rounded up because 2 is exactly half of the step interval of 4.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 2, 6 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 0. Rounded down because 2 is less than half of the step interval of 6.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 3.88 , 0.1 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 3.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyI--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 3.88 , 5 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyG--"&gt;Returns 5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="BodyC--"&gt;&lt;P&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate"&gt;Round( 1.1 , 1 , 0.5 )&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyA--"&gt;&lt;P&gt;Returns 1.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 13:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043707#M351051</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2016-04-29T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to round nearest 10 value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043708#M351052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;There is also Ceil and Floor functions in case you want to alway go up (Ceil(Number, 10)) or down (Floor(Number,10))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 13:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-round-nearest-10-value/m-p/1043708#M351052</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-29T13:36:17Z</dc:date>
    </item>
  </channel>
</rss>

