You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dimitrios Efthymiou (Jira)" <ji...@apache.org> on 2023/07/13 18:40:00 UTC

[jira] [Created] (NUMBERS-197) New function - get the integer closest to a given number

Dimitrios Efthymiou created NUMBERS-197:
-------------------------------------------

             Summary: New function - get the integer closest to a given number
                 Key: NUMBERS-197
                 URL: https://issues.apache.org/jira/browse/NUMBERS-197
             Project: Commons Numbers
          Issue Type: New Feature
          Components: core
            Reporter: Dimitrios Efthymiou


I propose a new function for ArithmeticUtils that takes 3 numbers and it checks if the first argument is numerically between the other 2, but with the following case:
isBetweenExclusive(Number x, Number minimum, Number maximum)
checking if x>minimum AND x<maximum



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