Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
wcilliers
Partner Ambassador
Partner Ambassador

Floor Function Inconsistent

Hi Experts,

Can someone please help explaining to me. We have a need to ROUND DOWN to two decimals and the only way I believe is by using the FLOOR functions. However, it seems to be inconsistent. As you can see below, on some of them it actually drops down 1 decimal. In this case it should not change any of these numbers, or am I missing something here?

Capture.JPG

Thanks,

Wynand

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

4 Replies
awhitfield
Partner - Champion
Partner - Champion

Use round instead

sunny_talwar
MVP
MVP

Something to read:

Rounding Errors

wcilliers
Partner Ambassador
Partner Ambassador
Author

I cannot use round, I have to ROUND DOWN. So 1.678 becomes 1.67 and NOT 1.68. This is just example data, and I found some inconsistencies in my actual data and started testing, that is why I posted here.

wcilliers
Partner Ambassador
Partner Ambassador
Author

Thanks Sunny,

This is very interesting. I will have a look at some of the workarounds. 

Thanks,

Wynand