roundoff double values in Java

Posted by S.PRATHIBA on Stack Overflow See other posts from Stack Overflow or by S.PRATHIBA
Published on 2010-05-18T13:06:47Z Indexed on 2010/05/18 13:10 UTC
Read the original article Hit count: 234

Filed under:

Hi all,

I have a matrix.I found the 10th power of matrix using Java.After finding the 10th power,I need to round off the double values to 3 decimal places.Please help me to round off the double values in the matrix to 3 decimal places.

© Stack Overflow or respective owner

Related posts about java