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

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -