6400042 in words is written as :

Six Million Thousand Forty Two