Round a double to 2 significant figures after decimal point

Posted by Rajesh on Stack Overflow See other posts from Stack Overflow or by Rajesh
Published on 2010-05-11T06:36:50Z Indexed on 2010/05/11 6:44 UTC
Read the original article Hit count: 259

Filed under:

suppose if the value is 200.3456 it should be formatted to 200.34 or if it is 200 then it should be 200.00

© Stack Overflow or respective owner

Related posts about java