How can I truncate 6.280369834735099E-16 to double in Java? -
how can 1 truncate 6.280369834735099e-16
000000000000000628
in java?
have tried this?
double d = 6.280369834735099e-16; numberformat formatter = new decimalformat("#.###################"); string f = formatter.format(d);
Comments
Post a Comment