Consider this
23 = Twenty three
123 = One hundred and twenty three
123,000 = One hundred and twenty three thousand
So you need to think about (eventually)
- splitting into groups of 1000
- splitting hundreds from tens and units
But start simple, try to code up converting 1 to 99.