I am invoking a method called \"calculateStampDuty\", which will return the amount of stamp duty to be paid on a property. The percentage calculation works fine, and returns
Double d = 1000d; System.out.println("Normal value :"+d); System.out.println("Without decimal points :"+d.longValue());