Hi All,
Sometimes we are seeing a weird value is being returned by SUM function in BPEL.
We are trying to add the node value from a collection.
Ex : Salary from Employees collection.
Salaries of employees..
40097.67
1579888
88394018
389800298
182854758
134661378
When we add them sometimes we are getting a correct value => 797330437.67
But sometimes we see a weird value => 797330437.6700001
Not sure why 00001 is getting added in the decimal place.
We are using "decimal" for salary field and "double" for copying the sum value.
Thanks,
Sid.