Multiple problems here :

  • If you want to convert from String to Double you should use Double.parseDouble().
  • "," is not the expected char : it should be "." : You will have to convert "," char to "." char : if your input comes from an excel or delimited file, you can set this option on the advanced settings of tFileInput component ("advanced separator"). Otherwise you should use yourString.replaceAll(",", "."))

  • there is a non-standard space in the String that you should replace with yourString.replaceAll(" ", ""))

Answer from Corentin on Stack Overflow
🌐
Tutorial Gateway
tutorialgateway.org › talend-tmap-type-conversion
Talend tMap Type Conversion
December 18, 2024 - Similarly, we use parseDouble to convert a string to double, parseFloat to convert a string to float and parseDate to convert a string value to date. Remember, for parseDate, please match the column pattern to the date format.
🌐
Qlik Community
community.qlik.com › t5 › Talend-Studio › resolved-String-to-Double-conversion-failing › td-p › 2211564
Solved: [resolved] String to Double conversion failing - Qlik Community - 2211564
November 16, 2024 - Solved: I have a simple test job to read a delimited file with String data, convert the Strings to Double in a tMap, and display the results. Why am - 2211564
🌐
Qlik Community
community.qlik.com › t5 › Talend-Studio › String-to-Double-conversion-and-validation › td-p › 2210416
String to Double conversion and validation - Qlik Community - 2210416
November 16, 2024 - hi , please avoid https://comm... before convert your value, you have to clean your date. In a metadata delimited file create schema and escape double quote . In regex replace all non numeric value....
🌐
Qlik Community
community.qlik.com › t5 › Talend-Studio › String-to-Double-conversion-in-tmap › td-p › 2339474
String to Double conversion in tmap - Qlik Community - 2339474
May 4, 2012 - When I Execute, I get this Error: Type mismatch: cannot convert from Object&Comparable<?>&Serializable to Double Please Help Regards, Swathi ... Ditto - same here! ... Hi Swathi I still remember we talked about this issue at 23342. I think the most convenient way is not converting datatype in this expression. Just choose String datatype in tMap.
Find elsewhere
🌐
Talend
community.talend.com › s › feed › 0D73p000004kQa6CAE
Talend
May 28, 2013 - Loading · ×Sorry to interrupt · Refresh
🌐
Talend
help.talend.com › talend data shaping language reference guide › using data shaping expression language › data types › automatic data type conversion › conversion from a double
Conversion from a double | Talend Data Shaping Language Reference Guide Help
Conversion from a double · If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know! Leave your feedback here · Leave your feedback here · Talend Data Shaping Language Reference Guide · Using Data Shaping Expression Language ·
🌐
Rip Tutorial
riptutorial.com › table of conversions
talend Tutorial => Table of Conversions
╔══════════... ║ Double ║ double d = Double.valueOf(str).doubleValue() ║ ║Date ║ String ║ TalendDate.formatDate("yy-MM-dd", row1.myDate) ║ ║Float ║ String ║ row1.myFloat.toString() ║ ║Float ║ BigDecimal ║ new BigDecimal(F...
🌐
Blogger
bekwam.blogspot.com › 2011 › 02 › tutorial-converting-data-types-with.html
Bekwam Blog: [TUTORIAL] Converting Data Types with Talend Open Studio
For example, add this to a target field in a tMap TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",row1.today_d ) tConvertType is used for conversions between String, Double, Float, Long, Short, and Integer.Delete ·
🌐
Qlik Talend Help
help.qlik.com › talend data shaping language reference guide › using data shaping expression language › data types › automatic data type conversion › conversion from a string
Conversion from a string | Talend Data Shaping Language Reference Guide Help
Conversion from a string · If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know! Leave your feedback here · Leave your feedback here · Talend Data Shaping Language Reference Guide · Using Data Shaping Expression Language ·
🌐
Talend
community.talend.com › t5 › Design-and-Development › String-to-Double-conversion-and-validation › m-p › 78364
String to Double conversion and validation - Talend Community
July 12, 2018 - Examples of INPUT data: "" (empty string) null "$12" "$12.34" " $12.34 " "12" "12.34" " 12.34 " "1,234.56" "$1,234.56" These need to cleansed and converted to Decimal(12,2) values. Please assist me with a tMap Expression that will take any of the above examples and properly convert it to a Decimal value. ... try with Double.parseDouble(name_of_your_input_field) or new BigDecimal(name_of_your_input_field).doubleValue() Add round if it needs to be rounded It worked for me
🌐
O'Reilly
oreilly.com › library › view › talend-open-studio › 9781782167266 › apa.html
A. Common Type Conversions - Talend Open Studio Cookbook [Book]
October 25, 2013 - Appendix A. Common Type ConversionsThe following table is a set of Java and Talend methods that allow conversion between different data types. This is by no means an... - Selection from Talend Open Studio Cookbook [Book]
Author   Rick Barton
Published   2013
Pages   270