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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to restrict values to 2 decimal points without rounding it off?

Hi,

I need to restrict the values on a table upto 2 decimal points with rounding off the values.

Ex: if value = 0.556, I need the value as 0.55 and not 0.56.

I tried using the Floor(value, 0.01) function and Left(Value,4), But these functions doesn't give the desired output.

- Am also suppressing the null values that is one of the reasons am facing issue.

Can anyone please help me out here?

Thanks

4 Replies
sunny_talwar

Would you be able to share a sample where you have this problem?

Anil_Babu_Samineni

Floor() will helps you. Can you share image?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jothimala
Partner - Contributor II
Partner - Contributor II

Hi!!

Try using this

num(expression,'#,##.##');

or

num(expression,'#,##.00');

ogautier62
Specialist II
Specialist II

Hi,

floor(0.556, 0.01) gives 0.55

what's wrong for you ?

regards