public static String convertToUpperCase(int num) {
String[] upperCaseDigit = {"零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"};
String[] unit = {"", "拾", "佰", "仟", "万", "拾", "佰", "仟", "亿"};
String strNum = String.valueOf(num);
StringBuilder result = new StringBuilder();
int len = strNum.length();
for (int i = 0; i < len; i++) {
int digit = Character.getNumericValue(strNum.charAt(i));
result.append(upperCaseDigit[digit]).append(unit[len - i - 1]);
}
return result.toString();
}