Tag: jscience

如何将数字转换为java中的单词

我们目前有一个粗略的机制,可以将数字转化为单词(例如,使用一些静态数组),并根据数字的大小将其转换为英文文本。 但是我们遇到的问题是数量巨大。 10183 = Ten thousand one hundred eighty three 90 = Ninety 5888 = Five thousand eight hundred eighty eight 在我可以使用的任何math库中是否有一个易于使用的函数?