更新时间:2023-11-20 15:07:34
^ ]
很棒的文章,不是针对Java的,而是其背后的发展是普遍的.
您的家庭作业要小得多,但是系统也可以为您工作:拆分数字并弄清楚它得到了多少位数.然后翻译每个数字.
要获得更多帮助,您将必须提供代码.
Number To Word (Arabic Version)[^]
great article, not for Java, but the development behind that is general.
Your HOMEWORK is much smaller, but the system also works for you: split the number and figure out how much digits it has got. Then translate each digit.
For more help you''ll have to provide your code.
提示:将数字分解成几个组成部分-单位,数十,数百...
其余的应该很容易.
Hint: break your number down into its constituent parts - units, tens, hundreds ...
The rest should be easy.