title: Round off a double while maintaining the trailing zero
body: <p>Here is my function to roundoff a number upto two decimals but when the rounded off number is 1.50 it seems to ignore the trailing zero and just returns 1.5</p>
  
  <pre><code>public static double roundOff(double number) {
          double accuracy = 20;
          number = number * accuracy;
          number = Math.ceil(number);
          number = number / accuracy;
          return number;
      }
  </code></pre>
  
  <p>So if I send 1.499 it returns 1.5 where as I want 1.50</p>