/**
* 驗證不超過兩位小數的金額
*/
public static boolean checkDoubleStr(String doubleStr){
try
{
String regex = "^(([1-9][0-9]*)|(([0]\\.\\d{1,2}|[1-9][0-9]*\\.\\d{1,2})))$";
return SystemUtil.match(regex,doubleStr);
}
catch (Exception e)
{
return false;
}
}