Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The Sum function is returning a weird value in BPEL

Siddhardha MJul 1 2013 — edited Feb 26 2020

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2013
Added on Jul 1 2013
1 comment
485 views