String to float conversion in talend using tMap component
Relational.ISNULL(ExceltoMap.PlannedEffort)? null:((ExceltoMap.PlannedEffort).matches("[0-9]*\\.?[0-9]+")?Float.parseFloat(ExceltoMap.PlannedEffort):null)
ExceltoMap.PlannedEffort - Component variable
Not: this expression should allow only integers and floating point numbers
Relational.ISNULL(ExceltoMap.PlannedEffort)? null:((ExceltoMap.PlannedEffort).matches("[0-9]*\\.?[0-9]+")?Float.parseFloat(ExceltoMap.PlannedEffort):null)
ExceltoMap.PlannedEffort - Component variable
Not: this expression should allow only integers and floating point numbers
Thanks for providing such a nice collection of Talend tutorials. helps me a lot. Learn more Talend open studio.
ReplyDeleteTalend Open Studio Data Integration Online training
Talend Big Data Integration Online training