bobg said:keyed in £30 and £200 came out, then did it again and another £200 came out what would you do???
there's no point saying "what if", because that would never happen.
If it was possible for it to happen, it would be happening all over the place and banks would go bankrupt and the value of the pound would be degraded.
There's double and triple checks and quadruple checks - in software, hardware, and mechanical methods.