import java.util.*; public class numberTaxis { public boolean isNumber(String number) {// 检验数字是否合理 StringTokenizer tokenizer = new StringTokenizer(number, ","); boolean bool = true; while (tokenizer.hasMoreTokens()) { try { Double.valueOf(tokenizer.nextToken()); } catch (Exception e...