JAVA HELP! How to set decimal precision in JAVA Programming?

stso

Platinum Member
Nov 17, 2000
2,528
0
0
I'm need to display 3.33 instead of 3.33333333333
How do I do that?

I'm writing a caluclator program, but I have no problem on the precision.
Someone please help me out. Thanks in advance :)