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

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

Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1161#discussion_r85231591
  
    --- Diff: nifi-docs/src/main/asciidoc/expression-language-guide.adoc ---
    @@ -1645,6 +1649,34 @@ Divide. This is to preserve backwards compatibility 
and to not force rounding er
     
|=======================================================================================
     
     [.function]
    +=== fromRadix
    +
    +*Description*: [.description]#Converts the Subject from a specified Radix 
(or number base) to a base ten whole number. The subject will converted as is, 
without interpretation, and all characters
    +must be valid for the base being converted from. For example converting 
"0xFF" from hex will not work due to it not x not being a valid hex character.
    --- End diff --
    
    I think there is a typo in "due to *it not x not* being a valid hex 
character". 


> Allow literal interpretation of hex numbers as whole numbers in EL
> ------------------------------------------------------------------
>
>                 Key: NIFI-2950
>                 URL: https://issues.apache.org/jira/browse/NIFI-2950
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Percivall
>            Assignee: Joseph Percivall
>            Priority: Minor
>
> Currently in EL you cannot pass hex numbers as a whole number and instead 
> only decimals support them. Whole numbers should support being passed in as 
> hex too.
> This was brought up by this SO[1] question.
> [1] 
> http://stackoverflow.com/questions/40265791/applying-string-manipulations-mathematical-operations-to-the-contents-of-a-flow/40267507#40267507



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

Reply via email to