<?php $value = '122.33'; $result = preg_match('/^\d+([\.,]\d{1,2})?$/', $value); var_dump($result);
You have javascript disabled. You will not be able to edit any code.