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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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!

Labels (1)
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