<?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 Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903673#M314248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for pointing out the reason of why this is happening. I will try to find another way then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 09:16:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-21T09:16:39Z</dc:date>
    <item>
      <title>Ceil Function</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903671#M314246</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;I'm working with the Ceil() function to round up some numbers, but I get unwanted results.&lt;/P&gt;&lt;P&gt;I want to round just numbers with 3 decimal positions, and if the number has 2 decimal positions, no round must be made.&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;2.285 should be : 2.29&lt;/P&gt;&lt;P&gt;2.28 should be 2.28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the ceil function, which works well when I have 3 decimal positions. With 3 decimal positions I don't understand what it does:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ceil(2.21,0.01,0) =2.21 -&amp;gt; Right&lt;/P&gt;&lt;P&gt;Ceil(2.22,0.01,0) =2.23 -&amp;gt; Wrong! Why rounded?&lt;/P&gt;&lt;P&gt;Ceil(2.23,0.01,0) =2.23 -&amp;gt; Right!&lt;/P&gt;&lt;P&gt;Ceil(2.24,0.01,0) =2.25 -&amp;gt; Wrong again! Why rounded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is that happening? Is there some way to know how many decimal positions a number has, so I can use that function only for numbers with 3 decimal positions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 08:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903671#M314246</guid>
      <dc:creator />
      <dc:date>2015-05-21T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil Function</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903672#M314247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this excellent blog post by HIC, &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 09:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903672#M314247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-21T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ceil Function</title>
      <link>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903673#M314248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for pointing out the reason of why this is happening. I will try to find another way then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 09:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ceil-Function/m-p/903673#M314248</guid>
      <dc:creator />
      <dc:date>2015-05-21T09:16:39Z</dc:date>
    </item>
  </channel>
</rss>

