>>>>>Do you know in which cases one puts an 'and' between Hundred and what follows ?
>>>>
>>>>I'd think any time anything follows. e.g:
>>>>1300 = One Thousand Three Hundred
>>>>1327 = One Thousand Three Hundred and Twenty Seven
>>>>etc
>>>
>>>
>>>The 1300 - I knew - ;)
>>>
>>>But I was not sure about the rest [ There are rules in Spanish for that - which I have forgotten ]
>>>So, that should be simple .... if it weren't for ...
>>>
>>>the case that there are no hundreds, eg 1004 , 10004, 100004
>>>104000000 [ With one billion = 1000,000,000,000]
>>>104000001 hundred and four million and one
>>>
>>>I'd need to give it some thought - might be fun
>>
>Is the rule simply that 'and' precedes the portion of the number less than one hundred?
>Don't see how that could fit into the current algorighm though - probably need a routine to adapt the final result
I'd need to think about it - seems complex but sometimes the solution is simple
ps; think I remember the Spanish rule
only
and between 10^1 and 10^0 if necessary
range: 16 - 99
eg
21 >> twenty and one (translated)
40 >> no since the 10^0 part is zero
99>> ninety and nine
21455>> twenty and one thousand four hundred fifty and five
21001 >> twenty and one thousand one
Gregory