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

Gilles commented on NUMBERS-43:
-------------------------------

bq. we might want to round of numbers at certain lengths

Methods that round a {{double}} value will still be available:
{code:java}
public static double round(double x, int scale, int roundingMethod) { /* ... */ 
}
{code}

Which kind of applications would require the {{float}} version rather than the 
{{double}} one?


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

Reply via email to