camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-5004) Camel simple language wrong working with real number
Date Thu, 16 Feb 2012 07:04:59 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-5004.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0
                   2.9.1

I have improved the simple language to work better with floating point numbers.
                
> Camel simple language wrong working with real number
> ----------------------------------------------------
>
>                 Key: CAMEL-5004
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5004
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.6.0
>         Environment: linux, servicemix-4.3.1
>            Reporter: Anton Kudinov
>            Assignee: Claus Ibsen
>             Fix For: 2.9.1, 2.10.0
>
>
> I compute real number in route:
>    <setBody>0.02</setBody>
> After that I want to filter:
>    <filter><simple>${body} > 0 </simple> ... </filter>
> This expression return false for value in body = 0.02

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message