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
You can convert the double value into a int value.
int x = (int) y where y is your double variable. Then, printing x does not give decimal places (15000 instead of 15000.0).