将数字(货币)转换为单词的方法

Thu*_*G R 5 smalltalk pharo

Pharo 有什么方法可以将数字转换为单词。例如:1200 = 一千二百而已。

实施起来并不难,只是想知道。

Ste*_*out 5

Integer>>asWords 会这样做。

1200 asWords返回'one thousand, two hundred'

我通过使用 Pharo 的 Finder 工具搜索“千”找到了它。