5799989 in words is written as :

Five Million Thousand Nine Hundred and Eighty Nine