You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ole Ersoy <ol...@gmail.com> on 2015/12/13 05:41:57 UTC
[math] Another Question about Precision.round()
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