[ 
https://issues.apache.org/jira/browse/NIFI-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576309#comment-15576309
 ] 

ASF GitHub Bot commented on NIFI-1662:
--------------------------------------

Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/1018
  
    @mattyb149, I agree with adding it to the lexer as a subset. I thought 
through it a bit more and is someone passes "toLiteral('1.1')" they should 
expect they would get a string with the value "1.1". 
    
    I'll do some research on the best way to parse double/floating points via 
Antlr and post a new commit.
    
    Thanks!


> Improve Expression Language to Enable Working with Decimals
> -----------------------------------------------------------
>
>                 Key: NIFI-1662
>                 URL: https://issues.apache.org/jira/browse/NIFI-1662
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Percivall
>            Assignee: Joseph Percivall
>
> Currently the math operations in Expression Language use Longs to evaluate 
> numbers. This leads to any decimal places getting truncated when performing 
> operations like divide. 
> NiFi should support working with decimals



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to