I have seen your post on how to handle the exponent values in Talend writing a peace of code in java. But how to implement in tMap was not clear or undable to underastnd how to write a method and creating a variable to assign the values in runtime and trying to implement the same for ‘Amount’ field from source.
Can you please help me out with a peace of generic code or function in Talend, where I can use directly that code and get the result.
Note: I'm not expert in Jave, if need any method or creating Variable for it also, please help me step by step.
Amount field == ‘3.53435E-12’
double d = <Amount Field>;
java.text.DecimalFormat df = new java.text.DecimalFormat("#.#");
System.out.println("d = " + s);
Thanks in anticipation!