View Single Post
  #1 (permalink)  
Old 05-31-2007, 05:49 PM
Valeriano Valeriano is offline
Member
 
Join Date: May 2007
Posts: 10
Valeriano is on a distinguished road
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?
Reply With Quote
Sponsored Links