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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
gt0731
Contributor III
Contributor III

tmap-Double type Division

I have been bashing my head against the wall for like 5 hours now trying to figure out why in the world double Outpucol = 315.0/23.0; is telling me that answer is 315.0
We have talend tool uses java code.
Input:
in tmap component Output mapping field Expression is
Outputcol---->row1.inputcol=="CS"?Double.valueOf(Var.Var3)/Double.valueOf(Var.Var5):Double.valueOf(Var.Var3)

Symptom : when running the job not getting any error on execution. But at the same time not getting desired output of division of double.
We also tried
firstdouble.divide(secondDouble)


Is there a alternate way or possible workaround for such values division?
Thanks in advance!
Labels (3)
11 Replies
gt0731
Contributor III
Contributor III
Author

is that possible  to have the team viewer  session so i can bring more to you.
@vapukov
  Do we have the session on this ?
vapukov
Master II
Master II

is that possible  to have the team viewer  session so i can bring more to you.
@vapukov
  Do we have the session on this ?

was answered in PM