39999999990 in words is written as :

Billion Million Thousand Nine Hundred and Ninety