Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Adri7
Contributor
Contributor

Rounding to a given number of decimals

Hey Everyone!
So, I've got a validation table with given numbers of decimals I should round a number to. So, if the user enters a number like 25.984 and the validation table says that that number has to be rounded to 2 decimals, it will "cut" the number entered by the user to 25.98. 
Some numbers are needed to be rounded to 3 decimals and others to 2. How can I write a script that validates that on qliksense?

In advance, thank you so much. 

0 Replies