How to get my result in decimal precision control with power value?
In my calculation program I am getting Result is 2.04145124554 e-5 so I
want to control the result with decimal precision. I used the code
String.format("%.2f",myans) now I am getting the result 0.00 but I
expected result is 2.04 e-5 now what i do?
No comments:
Post a Comment