quote:
Originally posted by ramccoid
I thought there would be an easier way. That way means if I wanted Hal to say 'one hundred and twenty minutes' I'd have to case from 1 to 120.
Well, not really, if you are slick...
DigitArray(one, two, three, four, five, six, ... nineteen)
DecimalArray(twenty, thirty... ninety)
HigherArray(hundred, thousand, million, billion)
Function ParseNumber(137,325)
ReturnString = One "&"Hundred "&" and "&"thirty "&"Seven "&"Thousand "&","&"Three "&"hundred "&"and "&Twenty "&"Five "
...or something to that effect.