title: Rest web service return double with precision
body: <p>I have following code to get double with 5 digit decimal but not getting</p>
  
  <pre><code>@RequestMapping(value = "/double1/{double}", method = RequestMethod.GET)
      @ResponseBody
      public double getDouble1(@PathVariable("double")double dou){
          System.out.println(dou);
          return dou;
      }
  </code></pre>
  
  <p>Following is input output </p>
  
  <pre><code>http://localhost:8080/svc/double1/4569999999999991.922222222333 ==&gt; 4569999999999991
  http://localhost:8080/svc/double1/4569999999999991.1234567 ==&gt; 4569999999999991 
  </code></pre>