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
I did this to remove the decimal places from the double value
double
new DecimalFormat("#").format(100.0);
The output of the above is
100