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

Dimitrios Efthymiou commented on NUMBERS-195:
---------------------------------------------

I changed the PR. As for the argument if(x>=a&&y<=b), well, I have the same 
question for methods like

StringUtils.isEmpty() and CollectionUtils.isEmpty() that exist in virtually all 
open source (and closed source) libraries. We can always do (and I do)

if(x != null && !x.isEmpty()). Anyway. I changed the PR. If you still don't 
like it I will close this

> New function - is number between 2 others
> -----------------------------------------
>
>                 Key: NUMBERS-195
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-195
>             Project: Commons Numbers
>          Issue Type: New Feature
>          Components: core
>            Reporter: Dimitrios Efthymiou
>            Priority: Minor
>              Labels: features
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I propose a new function for ArithmeticUtils that takes 3 numbers and it 
> checks if the first argument is numerically between the other 2



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to