The Whole 9 Yards.

The explanation I have heard is that is you "give them the whole 9 yards" refers to the length of a Browning Machine gun belt from WWI.

Well, it's the first I've heard of it, and in any case we never made 9 yard belts; and that's a fact.