5800009 in words is written as :

Five Million Thousand Nine