php判断千分位
public function isThousandSeparatedNumber($number) {
return preg_match('/^[-]?\d{1,3}(,\d{3})*(\.\d+)?$/', $number) === 1;
}
php判断千分位
public function isThousandSeparatedNumber($number) {
return preg_match('/^[-]?\d{1,3}(,\d{3})*(\.\d+)?$/', $number) === 1;
}