Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5004

Camel simple language wrong working with real number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.9.1, 2.10.0
    • camel-core
    • None
    • linux, servicemix-4.3.1

    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            akudinov Anton Kudinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: