6399997 in words is written as :

Six Million Thousand Nine Hundred and Ninety Seven