commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amey Jadiye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUMBERS-43) Remove "round(float)" methods?
Date Tue, 13 Jun 2017 17:12:00 GMT

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

Amey Jadiye commented on NUMBERS-43:
------------------------------------

In financial institutes sometimes we might want to round of numbers at certain lengths of
number so i think we should keep it.

> Remove "round(float)" methods?
> ------------------------------
>
>                 Key: NUMBERS-43
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-43
>             Project: Commons Numbers
>          Issue Type: Wish
>            Reporter: Gilles
>              Labels: api, float
>             Fix For: 1.0
>
>
> In class {{Precision}}, there are methods for rounding {{float}} values, e.g.
> {code:java}
> public static float round(float x, int scale, int roundingMethod) { /* ... */ }
> {code}
> Is there any use for supporting specific handling of floats (in these times where memory
is not a scarce resources anymore)?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message