ASF GitHub Bot commented on NIFI-1662:

Github user JPercivall commented on the issue:

    @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.

> 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

Reply via email to