title: How do I round to the nearest ten?
body: <p>How can I round a number to the nearest ten with no if statements? For example, 98 to 100.</p>
  
  <pre><code>int num = 87;
  double t;
  double d = 1.0 * num; // d = 87.0
  t = d/100;
  System.out.println(t);
  </code></pre>