5899087 in words is written as :

Five Million Thousand Eighty Seven