|
-
December 2nd, 2004, 12:36 PM
#1
Senior Member
Precision iN Java
Hello Guys!!!
I 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.
Regards
Harbir
U get What U pay for. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|