hi,
i need to suppress leading zeroes in my ireport field (type: string)
eg., "0004" should be "4".
someone gave me some help in this forum (sourceforge) the code is given below .. but did not compile correctly. Can some kind soul help me with the syntax and whether this will work ...
new integer().valueOf($F{fieldname})
P.S.: the database field is in string. i have changed the ireport field to "java.lang.integer"
Thanks ..
Tony
i need to suppress leading zeroes in my ireport field (type: string)
eg., "0004" should be "4".
someone gave me some help in this forum (sourceforge) the code is given below .. but did not compile correctly. Can some kind soul help me with the syntax and whether this will work ...
new integer().valueOf($F{fieldname})
P.S.: the database field is in string. i have changed the ireport field to "java.lang.integer"
Thanks ..
Tony