[
https://issues.apache.org/jira/browse/JXPATH-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Murlidhar updated JXPATH-196:
-----------------------------
Description:
We are using sum() function over a jxpath which has data in big decimal form.
When the sum() function is applied over the jxpath values, it returns
inconsistent values.
e.g. The sum of following is some time returned as 4504.49999999 and some time
as 4504.50.
300.30
100.10
200.20
600.60
500.50
400.40
900.90
700.70
800.80
was:
We are using sum() function over a jxpath which has data in big decimal form.
When the sum() function is applied over the jxpath values, it returns
inconsistent values.
e.g. The sum of following is some time returned as 4050.49999999 and some time
as 4504.50.
300.30
100.10
200.20
600.60
500.50
400.40
900.90
700.70
800.80
> sum() function for double value return inconsistence output
> -----------------------------------------------------------
>
> Key: JXPATH-196
> URL: https://issues.apache.org/jira/browse/JXPATH-196
> Project: Commons JXPath
> Issue Type: Bug
> Reporter: Murlidhar
> Priority: Major
>
> We are using sum() function over a jxpath which has data in big decimal form.
> When the sum() function is applied over the jxpath values, it returns
> inconsistent values.
> e.g. The sum of following is some time returned as 4504.49999999 and some
> time as 4504.50.
> 300.30
> 100.10
> 200.20
> 600.60
> 500.50
> 400.40
> 900.90
> 700.70
> 800.80
--
This message was sent by Atlassian Jira
(v8.3.2#803003)