On Fri, Jan 05, 2001 at 09:42:12PM -0500, Brian Finney wrote:
> generally speaking when you look a number and convert it into text you go through
> some simble steps
> 
> say we start with this number
> 123,456,789
> first we divide into sets of three
> (123,000,000)+(456,000)+(789)
> then we expand
> (123*1,000,000) + (456*1,000)+(789)
> and expand further
> (((1*100)+(20+3))*1,000,000) + (((4*100)+(50+6))*1,000)+((7*100)+(80+9))
> then we convert to words
> 
>(((one*hundred)+(twenty+three))*million)+(((four*hundred)+(fifty+six))*thousand)+((seven*hundred)+(eighty+nine))
> 
> now we replace math with spaces except the + between the tens and ones producing
> 
> one hundred twenty-three million four hundred fifty-six thousand seven hundred
> eighty-nine

Nonono.  Everybody should know that it is

satakaksikymmentäkolme miljoonaa neljäsataaviisikymmentäkuusi tuhatta
seitsemänsataakahdeksankymmentäyhdeksän.

Now, maybe I be so bold as to suggest that we get back to
perl6-language, please?

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to