|
How to round a double?
I have a method that prints out two doubles after a series of mathematical operations. I need the doubles to be displayed with two decimal places. I don't need to do anything with the rounded doubles, I just need to print them out. How can i do that?
|