In My Java code I'm trying to do following
    double a=1769.58;
    double b=986.58;
    double c=a-b;
    System.out.println("Result "+c);
This is retuning the result as 782.9999999999999. but it should be 783.00 what is wrong with this.how can I get correct value and what is the reason for this?
 
     
     
    