Is this considered rude?

If my wife is within ear shot when someone asks how much this or that cost, I just grin and say 'I stopped keeping track years ago' lol.. usually gets a chuckle LOL