Skip to Content
0
Former Member
Aug 23, 2005 at 04:51 AM

Message Mapping Sumation Problem

14 Views

Hi,

I have structure as

<Header>

<Segment>

<field1>12345667890.00</field1>

</Segment>

<Segment>

<field1>12345667890.00</field1>

</Segment>

</Header>

<Trailer>

<sum>sumof all Segemnt.field1</sum>

<Trailer>

For this I have written Advance function in message mapping with Segment.filed1 as argumnet. As in message mapping Advance funtion input and out are string type,I need to convert this to doule with function Double.parseDouble(a<i>) before taking sum. This converts my data in IEEE format ie 1.23456676E10. I want output in simple format. Can any one suggest solution.

-Kavita