Hi Maheesh
Thank you for getting back to me. The values are those given in the post.
The input value from the flat file is 00000054321 and the expected output is 0.54321
We have a transformer with the following settings:
fornatpattern : 0.#####
removedecimalforimplied : false
addexplicitdecimal : true
adddecimalmultiplier : 0.00001
With these settings I get a 0.
If I set addexplicitdecimal to false, I get 54321.
If I create a flat file that contains 0.54321 instead of 00000054321 and do not formatnumber, I get 0.54321.
Clearly convertToString is doing something, but I don’t know what. It must have something to do with how the original input value is being treated.
Clearly I have a workaround as explained above, but that will cause me problems in other processes. Better to get this working.
Thanks,
Paul
#webMethods-General#Integration-Server-and-ESB#webMethods