Error with BigDecimal
<p>Some one can say me where is problem please ?</p>

<pre><code>double interval;
         BigDecimal diff = BigDecimal.valueOf(17);
         int n=39;
         BigDecimal N = BigDecimal.valueOf(n);
         interval = diff.divide(N).doubleValue();//line26

         System.out.println(interval);
</code></pre>

<p>I have this error</p>

<pre><code>Exception in thread "main" java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
    at java.math.BigDecimal.divide(BigDecimal.java:1603)
    at newlogoot.class.main(class.java:26)
Java Result: 1
</code></pre>
