Goal:
Translates , say, "2004" to "two thousand four"
Implementation:
Will have different cases for: 0-9 ([blank], one, two, ..., nine)
0x-9x ([blank], ten, twenty, thirty,..., ninety)
100 up is rather easy, if there are 3 digits determines the case for first digit, say "143" would be "one" and then add "hundred", and then look up 4x ("forty"), and last is "three"
Sounds like a plan?
EDIT:
hmm...should I say "twelve hundred" or "one thousand two hundred" for "1200" ??