Extract Method amountFor changed from int to double