Originally posted by BillR: Should be easy, how do you round decimal places to the least significant digit when calculating using doubles? Or at least limit the decimal places while suppressing trailing zeros?
Look in the java.lang.Math class public static long round(double)
[This message has been edited by Eric Edwards (edited April 18, 2000).]
What's wrong? Where are you going? Stop! Read this tiny ad: