[ 
https://issues.apache.org/jira/browse/JEXL-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Biestro resolved JEXL-411.
--------------------------------
    Resolution: Fixed

Nicely solved by NikRom5531 in 
[9b0c586|https://github.com/apache/commons-jexl/commit/9b0c5869b91c40936ceb98dbf9f5da52b06fc5a6]

> Leading zeroes in floating point numbers should be optional
> -----------------------------------------------------------
>
>                 Key: JEXL-411
>                 URL: https://issues.apache.org/jira/browse/JEXL-411
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Felix Rudolphi
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.7.1
>
>
> When parsing arithmetic expressions, JEXL should be able to deal with omitted 
> leading zeroes in floating point numbers between -1.0 and 1.0, e.g. ".1"
> "(1+0.1)*2" evaluates to 2.2, while "(1+.1)*2" gives a parsing error. In 
> Java, this is valid code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to