It's quite easy: multiply your double with 10^n, do a simple round, and divide it by 10^n
Carsten Am Donnerstag, 14.11.02, um 07:53 Uhr (Europe/Berlin) schrieb Josh G:
Is there a nice easy way to round a double to n decimal points? I couldn't
see anything in Math,Double,String, or NumberFormat...
-Josh
--
And can you tell me doctor why I still can't get to sleep?
And why the channel 7 chopper chills me to my feet?
And what's this rash that comes and goes, can you tell me what it means?
God help me, I was only 19
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
-- Hannover Medical School University of Applied Sciences Dept. of Hematology and Oncology Faculty of Information Sciences Carl-Neuberg-Stra�e 1 Ricklinger Stadtweg 120 30625 Hannover 30459 Hannover http://summit-bmt.fh-hannover.de -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
