Technically, if you have over half of any dollar bill of any denomination, the bank has to replace that one with a fresh one. If you still have half of the bill, take it in and get it changed to a full one.
well.... i wouldn't like to be in your position ... if i were you i wouldn't left the ATM before i had received my money ...20 bucks are 20 bucks after all