this "hypothetical" situation did occur and let the cashier know they made a mistake and get the correct amount of money.... Anything less would be unethical and dishonest. FWIW