commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JEXL-65) Need operator for integer division
Date Thu, 20 Aug 2009 10:11:14 GMT

    [ https://issues.apache.org/jira/browse/JEXL-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745369#action_12745369
] 

Sebb commented on JEXL-65:
--------------------------

How should integer division work for decimals and floating point?

e.g. should the following be true?

4.5 quotient 1.5 => 3
5.9 quotient 1.5 => 3


> Need operator for integer division
> ----------------------------------
>
>                 Key: JEXL-65
>                 URL: https://issues.apache.org/jira/browse/JEXL-65
>             Project: Commons JEXL
>          Issue Type: New Feature
>            Reporter: Sebb
>             Fix For: Later
>
>
> See JEXL-50.
> It would be useful to have an operator that performs integer division, e.g. 3 intdiv
1 == 1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message