The story
Alteration of “in for a penny, in for a pound”, adapted to the denominations of the American currency (£ & d → $ & ¢). Nevertheless, “in for a penny, in for a pound” is used in the United States as well.
Etymology from Wiktionary, CC BY-SA 4.0.