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

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

Github user JPercivall commented on the issue:

    https://github.com/apache/nifi/pull/1018
  
    @mattyb149 the problem was that the parsing for the various representations 
of doubles in Java is crazy, Check out the pattern used in this 
documentation[1]. I guess we could offer a sub-set of the representations as 
literals?
    
    [1] 
https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html#valueOf-java.lang.String-


> 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