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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Float to String in Tmap

Hello,

 

I a few fields I am trying to convert from a Float from the Input to a String in the Output.  I have tried a few different ways and I get an error back on each way.  

I have tried the following:

Row1.Field1.toPlainString()

 and

Float.parseFloat(row1.Field1).toString()

 

Each time I try either of these I get an error saying the method is not applicable.   Any idea what I am missing?

 

thanks!

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thank you @ksingh .   This is extremely helpful!

 

View solution in original post

4 Replies
DataTeam1
Creator
Creator

Try this:

 

String.valueOf(row1.Field1)

Anonymous
Not applicable
Author

Hello steel @steeld95 

Please follow this link below

 

http://talendhowto.com/2017/08/29/convert-between-different-datatypes/

 

 

Thanks,

Manish

Anonymous
Not applicable
Author

Thank you!   That did it.  Now I am able to move data.  I appreciate the help!

Anonymous
Not applicable
Author

Thank you @ksingh .   This is extremely helpful!