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

ASF GitHub Bot commented on METRON-616:
---------------------------------------

Github user jjmeyer0 commented on the issue:

    https://github.com/apache/incubator-metron/pull/392
  
    @ottobackwards Depends. It should work very similar to java. For example, 
doubles will not require a D/d (eg. .4, 0.5, 1., etc). All these examples are 
doubles. Floats require an f/F, and to be a long, it requires an l/L. It should 
be very similar to 
https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.10.1


> Add Support in Stellar for Long and Float Literals
> --------------------------------------------------
>
>                 Key: METRON-616
>                 URL: https://issues.apache.org/jira/browse/METRON-616
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Josh Meyer
>
> Currently Stellar only supports literals for doubles and integers. However, 
> it is possible for functions to return longs and floats. An example, are the 
> timestamp functions. These will return a long. It would be useful for a 
> Stellar user to also use Java style floats and longs (eg. 3L, 3F, 3.3f, 
> etc.). 



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

Reply via email to