Precision in Java
807603Dec 2 2004 — edited Jan 24 2008I have a question for a precision in java.
i am using
double num=.349995953;
now the thing is that i want to round of variable "num" to two decimal places. so that the value of num become .35
I am not falimiar with how to set this precision, I wonder if any one can help me.