I've had that happen to, and it is such a nice gesture!
I've also been to stores (especially some of the chain stores) where if I don't pay for the last one inch left over from what I wanted, the clerk will cut it off
(or have to charge for it)
Now, that does NOT create good will.