So what, WalMart would go bankrupt?
It's a solved thing, for the cash round down, for the credit/plastic/online pay as is.
If you remove $0.01 then round down to the nearest .05, if you remove $0.10 then round down to nearest 0.10; so both $9.99 and $9.95 would be $9.90. Simple.