JAVA:1.金额Pattern pattern = Pattern.compile("^?(([1-9]{1}\\d*)|([0]{1}))(\\.(\\d){1,2})?$");Matcher matcher = pattern.matcher(".11");System.out.println(matcher.matches()); Read More
posted @ 2012-12-12 16:35 七郎 Views(138) Comments(0) Diggs(0)