commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject [math] Another Question about Precision.round()
Date Sun, 13 Dec 2015 04:41:57 GMT
Hi,

In Precision there are these two methods:

[1] public static double round(double x, int scale, int roundingMethod)
[2] public static float round(float x, int scale, int roundingMethod)

The implementations for each are different.  For [2] could users just convert float to double
and use [1] instead?

Cheers,
Ole

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message