This reply was initially the common folk story:
It's not comparing like with like, but the V-weapons programs probably cost about as much as the Manhattan Project.
But looking further into it, that claim holds up badly enough to completely drop it pending significant further research.