You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Oleksandr Kochniev (JIRA)" <ji...@apache.org> on 2015/09/25 12:16:04 UTC
[jira] [Created] (KARAF-4017) Values like "2d" or "2f" when typed
in shell are being considered as doubles or floats
Oleksandr Kochniev created KARAF-4017:
-----------------------------------------
Summary: Values like "2d" or "2f" when typed in shell are being considered as doubles or floats
Key: KARAF-4017
URL: https://issues.apache.org/jira/browse/KARAF-4017
Project: Karaf
Issue Type: Bug
Components: karaf-shell
Affects Versions: 3.0.3
Reporter: Oleksandr Kochniev
Priority: Minor
# Open karaf console
# Execute {code}echo 2f{code}
OR
{code}echo 2d{code}
# Observe the output
*Actual Result:*
Values like "2d" or "2f" when typed in shell are being considered as doubles or floats
{code}
2.0
{code}
*Expected Result:*
{code}
2d
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)