Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
package routines;
public class MyRoutines {
public static Boolean isNumeric(String str) {
if(str.equals("")){ return false; }
for(int i=str.length();--i>=0;){
int chr=str.charAt(i);
if((chr<48&&chr!=46&&chr!=45&&chr!=44)|| chr>57) return false; } return true; }}
MyRoutines.isNumeric((Relational.ISNULL(row1.WagenparkNummer)?"a":row1.WagenparkNummer))?Integer.parseInt(row1.WagenparkNummer):0
Mathematical.NUM((Relational.ISNULL(row1.WagenparkNummer)?"a":row1.WagenparkNummer))==1?Integer.parseInt(row1.WagenparkNummer):0
I tried a different output (.csv), both (Windows/Linux) work correctly.
I changed the field type to Signed, instead of Numeric in the TMS table. It did not work 100%, instead of 1554 to 15, I now see 155 as result.