摘要:
1、x = Double.parseDouble(X);字符串转Double类型; 2、使用正则表达式判断输入的是字母还是数字 要import java.util.regex.Pattern 和 java.util.regex.Matcher public boolean isNumeric(Str 阅读全文
posted @ 2017-01-23 15:01
孜然风味
阅读(127)
评论(0)
推荐(0)
摘要:
// 将数字转换成大写字母 public static void numToLetter(String input) { for (byte b : input.getBytes()) { System.out.print((char) (b + 65)); } } 阅读全文
posted @ 2017-01-23 12:02
孜然风味
阅读(323)
评论(0)
推荐(0)

浙公网安备 33010602011771号