You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Amey Jadiye (JIRA)" <ji...@apache.org> on 2017/06/13 17:12:00 UTC

[jira] [Commented] (NUMBERS-43) Remove "round(float)" methods?

    [ 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)