<?php echo (preg_match("/^\d+(?:\.\d+)?$/", '6.9', $salida)); echo (preg_match("/^[0-9]+$/", '6', $salida));
You have javascript disabled. You will not be able to edit any code.