12345642 in words is written as :

Twelve Million Thousand Six Hundred and Forty Two