karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-4715) String consisting of only decimal digits will be converted to integer if inputted as option or argument
Date Thu, 15 Sep 2016 10:59:20 GMT

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

Jean-Baptiste Onofré updated KARAF-4715:
----------------------------------------
    Fix Version/s: 4.1.0

> String consisting of only decimal digits will be converted to integer if inputted as
option or argument
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-4715
>                 URL: https://issues.apache.org/jira/browse/KARAF-4715
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.0.6
>            Reporter: Lijun Liao
>             Fix For: 4.1.0, 4.0.7
>
>
> Assume that an argument is declared as String, and the input consists only of decimal
digits and its numeric value is greater than a limit. The variable associated with the argument
will be set to the the numeric expression of the given text.
> This applies also to option.
> In the following example, "12345678901234567890" is expected, but "1.2345678901234567E19"
is shown.
> karaf@root()> echo 12345678901234567890
> 1.2345678901234567E19



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

Mime
View raw message