- The animal returns its portion size using its existing percentage field.
- The vending machine returns a price rounded to cents.
- The wallet returns zero, the requested amount, or its remaining balance as appropriate.
Guestreturns the wallet’s result toMainWindow.- Both feeding handlers deposit the returned payment and use the calculated portion for food removal and eating.