<?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: Round to 0 decimal places in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108305#M366863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(TimeA - TimeB) * 1440) As TotalTIme&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 21:22:25 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2016-08-29T21:22:25Z</dc:date>
    <item>
      <title>Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108304#M366862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the load I have a field called Total Time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is calculating the difference between 2 date fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total Time field is calculated as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(TimeA - TimeB) * 1440&amp;nbsp; AS Total Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I am returning values such as 4.890679000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone kindly help me return a number with 0 decimal places&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108304#M366862</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-08-29T21:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108305#M366863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(TimeA - TimeB) * 1440) As TotalTIme&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108305#M366863</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-29T21:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108306#M366864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the number 4.890679 the correct number? You just want to round it? Do you want this to be Round up, round down or a regular round?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108306#M366864</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-29T21:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108307#M366865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Maybe:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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;Interval(TimeA - TimeB, 'm') as TotalTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Interval(TimeA - TimeB, 'mm:ss') as TotalTime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if you want to keep the seconds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 22:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108307#M366865</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-08-29T22:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108308#M366866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;might help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/67315" title="https://community.qlikview.com/thread/67315"&gt;How to round 2 numbers after decimal point?? | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 05:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108308#M366866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T05:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108309#M366867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use floor() or ceil() functions to force rounding up or down, or if you are ok with the automatic rounding, you can use formatting instead num((&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(TimeA - TimeB) * 1440&lt;/SPAN&gt;), '##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 08:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108309#M366867</guid>
      <dc:creator>squeakie_pig</dc:creator>
      <dc:date>2016-08-30T08:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108310#M366868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If TimeA and TimeB is accurately formatted, you will find the difference as Marco described above. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TimeA and TimeB are not accurately formatted as timestamps, you should look into how to accomplish this. Correctly formatted date, time and timestamp fields will allow you to utilize the date and Time functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;4.890679 in Qlik means 4 days, 21 hours and 22 minutes. Is this the interval you expect from your calculation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;If not, please provide an example so that we can advise on how to change the formatting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 08:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108310#M366868</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2016-08-30T08:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108311#M366869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/helen_pip"&gt;helen_pip&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUM(( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TimeA - TimeB)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;* 1440,'##0')&amp;nbsp; AS Total Time&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 08:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108311#M366869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-30T08:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Round to 0 decimal places</title>
      <link>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108312#M366870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion on this yesturday,&amp;nbsp; I have tried your suggestion and this works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 19:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-to-0-decimal-places/m-p/1108312#M366870</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-08-30T19:59:17Z</dc:date>
    </item>
  </channel>
</rss>

