Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. roundedTemp = (double)Math.round(tempNum *10)/10;
  2. return roundedTemp;
  3.  
  4. DecimalFormat df = new DecimalFormat("#.#");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement