Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to parse a file and I wrote in tjavarow component this line( boolean numeric = isNumeric(input_row.Cell_Name); ) but it idoesnt run.
How can I convert this expression into order to see if it is numeric and store it into a variable?
Thanks a lot.
Talend has a routine Mathematical.NUM(input) that returns 1 if it's a numeric data type and 0 if not. Would that work?
@DrGenious , you need to use something like below code.
@manodwhb Is not any simplier way? I dont want to declare it as a double , I want only to take the boolean result.
@DrGenious , you need to write specified java otherwise not sure.
Talend has a routine Mathematical.NUM(input) that returns 1 if it's a numeric data type and 0 if not. Would that work?