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 round the price value in data?

Hi Team,

 

I have a data like this with a column MYR , I need them to give a round value, For Ex: 625509.34 means required output 625510

Source Data type is Double , destination anything you want or same ? Empty records should be replaced with 0 as well.

 

0683p000009M5Bk.png

 

Thanks & Regards,

Prabhakaran

 

 

 

Labels (2)
1 Solution

Accepted Solutions
bhagyarekha
Creator II
Creator II

Hi 

input string output double

in tmap  expression builder write down

row1.price!=null?Double.parseDouble(row1.price):0

in output tmap

Math.ceil(Var.var1)

 

Regards

rekha

View solution in original post

1 Reply
bhagyarekha
Creator II
Creator II

Hi 

input string output double

in tmap  expression builder write down

row1.price!=null?Double.parseDouble(row1.price):0

in output tmap

Math.ceil(Var.var1)

 

Regards

rekha