Okay,
  Thanks for the all solution.
  Yes, sorry for the others, for i had make your inbox full with my stupidity.
   
  best regards,
   
  Gunna

Patrick Casey <[EMAIL PROTECTED]> wrote:
  
The problem is where you're setting the bigdecimal.

BigDecimal a = new BigDecimal(3.163) sets the bigdecimal to the
*double* 3.163. The double is the implied type of any constant set in java
if there isn't enough information available to type it explicitely.

To set the BigDecimal to precisely 3.163, use:

BigDecimal a = new BigDecimal("3.163");
[deleted]
                
---------------------------------
 
 What are the most popular cars?  Find out at Yahoo! Autos

Reply via email to