- 博客(3)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 Java 输入一个数字将其转换为汉字,如:102,一百零二
public class Convert {public void convert(int number) {//数字对应的汉字String[] num = {"零","一","二","三","四","五","六","七","八","九"};//单位String[] unit = {"","十","百","千","万","十","百","千","亿","十","百","千"
2015-09-17 20:29:04
7866
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人