Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F1A19998 for ; Thu, 16 Feb 2012 07:05:27 +0000 (UTC) Received: (qmail 41863 invoked by uid 500); 16 Feb 2012 07:05:27 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 41802 invoked by uid 500); 16 Feb 2012 07:05:26 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 41788 invoked by uid 99); 16 Feb 2012 07:05:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 07:05:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 07:05:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E5AD81BA1FC for ; Thu, 16 Feb 2012 07:04:59 +0000 (UTC) Date: Thu, 16 Feb 2012 07:04:59 +0000 (UTC) From: "Claus Ibsen (Resolved) (JIRA)" To: issues@camel.apache.org Message-ID: <625470052.45172.1329375899942.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2026909290.36510.1329230164645.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CAMEL-5004) Camel simple language wrong working with real number MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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: > 0.02 > After that I want to filter: > ${body} > 0 ... > 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