12345704 in words is written as :

Twelve Million Thousand Seven Hundred and Four