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: 
Not applicable

Remove decimal places from a Variable

I have a variable that calculates a percentage and it currently returns 12 decimal places. Please can someone tell me how I can modify this to only return 2 or fewer dp?

1 Solution

Accepted Solutions
rajni_batra
Specialist
Specialist

use num(Answer,'#,##0.00')

Hope this help

View solution in original post

1 Reply
rajni_batra
Specialist
Specialist

use num(Answer,'#,##0.00')

Hope this help