I've had pizza guys do that occasionally, and I was not en femme at the time. There are a few who do that in hopes that you'll let them keep the change as a tip. Fortunately, I've always been able to come up with the exact amount required, and as you did, they get stiffed on the tip for trying a stunt like that.
Carol