39999999985 in words is written as :

Billion Million Thousand Nine Hundred and Eighty Five