|
hmm.. the argument amount is a double, so any number would be a double.. unless you declared an int variable, and called the method with the name of the int variable for the argument. but then it would have been found int required double, so i'm guessing its the problem with accountbalance.. i would have to see the rest of the class(es) to figure anything else out.
|