5800010 in words is written as :

Five Million Thousand Ten