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
Alternatively, you can use the method int integerValue = (int)Math.round(double a);
int integerValue = (int)Math.round(double a);