Is there any way in Pharo to convert a number to words. For example: 1200 = one thousand two hundred only.
its not that hard to implement, but just curious to know.
Integer>>asWords
will do this.
1200 asWords
returns 'one thousand, two hundred'
.
I found it by searching for "thousand" using Pharo's Finder tool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With