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: 
pgalvezt
Specialist
Specialist

Formating Number

Hello, I'm trying to convert

9820,45643 in integer (9820). But still showing the rest of numbers.

The object is a text box

=(Sum(If(IDCode='A' and Año=xAñoMax, Saldo,'#.##0,00'))/Divisor)-(Sum(If(IDCode='B' and Año=xAñoAnt, Saldo,'#.##0,00'))/Divisor)

Thanks!

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use floor: floor(9820,45643) will return 9820


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use floor: floor(9820,45643) will return 9820


talk is cheap, supply exceeds demand
fdelacal
Specialist
Specialist

You can use round: round(9820,45643) will retund 9820

                    but    round (9820,80912) will retund 9821

Hope it help you