Number names?
Leandro Caniglia
caniglia at dm.uba.ar
Fri Aug 24 13:12:58 UTC 2001
Dan Ingalls <Dan at SqueakLand.org> wrote:
>
> --
> Folks -
>
> Does anyone have or know of, in Squeak or any other Smalltalk...
>
> a method that if you give it
>
> SmallInteger maxVal
>
> it will respond with...
>
> 'one billion, seventy-three million, seven hundred forty-one thousand, eight hundred twenty-three'
I have almost ;-) what you want, except that my version...
1. is in Spanish, and not in English (mm...)
2. does exactly the inverse, reads strings into numbers (mmmmmmm.............)
Don't hope this help :-(
/Leandro
PS: Please note that in Spanish, billion = million squared.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NumericStringReader.1.cs.gz
Type: application/octet-stream
Size: 2051 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010824/cffd5823/NumericStringReader.1.cs.obj
More information about the Squeak-dev
mailing list
|